diff options
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 |