mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
Rename to sysutils/datadog-agent Various fix / improvements to the port PR: 251079 Submitted by: uros@gruber.si (maintainer)
22 lines
757 B
Go
22 lines
757 B
Go
--- cmd/agent/common/common_nix.go.orig 2020-11-23 20:15:00 UTC
|
|
+++ cmd/agent/common/common_nix.go
|
|
@@ -12,7 +12,6 @@ import (
|
|
"path/filepath"
|
|
|
|
// Init packages
|
|
- _ "github.com/DataDog/datadog-agent/pkg/util/containers/providers/cgroup"
|
|
)
|
|
|
|
const (
|
|
@@ -26,9 +25,9 @@ const (
|
|
|
|
var (
|
|
// PyChecksPath holds the path to the python checks from integrations-core shipped with the agent
|
|
- PyChecksPath = filepath.Join(_here, "..", "..", "checks.d")
|
|
+ PyChecksPath = filepath.Join(DefaultConfPath, "checks.d")
|
|
// DistPath holds the path to the folder containing distribution files
|
|
- distPath = filepath.Join(_here, "dist")
|
|
+ distPath = filepath.Join(DefaultConfPath, "dist")
|
|
)
|
|
|
|
// GetDistPath returns the fully qualified path to the 'dist' directory
|