403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/datadog-agent/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/datadog-agent/files/patch-cmd_agent_common_common__nix.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

Youez - 2016 - github.com/yon3zu
LinuXploit