diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:15:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:15:20 +0000 |
commit | 87d772a7d708fec12f48cd8adc0dedff6e1025da (patch) | |
tree | 1fee344c64cc3f43074a01981e21126c8482a522 /src/go/collectors/go.d.plugin/agent/executable/executable.go | |
parent | Adding upstream version 1.46.3. (diff) | |
download | netdata-upstream.tar.xz netdata-upstream.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/go/pkg/executable/executable.go (renamed from src/go/collectors/go.d.plugin/agent/executable/executable.go) | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/go/collectors/go.d.plugin/agent/executable/executable.go b/src/go/pkg/executable/executable.go index cb09db1eb..3f4e9e0de 100644 --- a/src/go/collectors/go.d.plugin/agent/executable/executable.go +++ b/src/go/pkg/executable/executable.go @@ -16,7 +16,6 @@ var ( func init() { path, err := os.Executable() if err != nil || path == "" { - Name = "go.d" return } @@ -27,7 +26,6 @@ func init() { Name = "test" } - // FIXME: can't use logger because of circular import fi, err := os.Lstat(path) if err != nil { return |