[Bug]: Runing netdata plugin from nested directory uses wrong config dir #17640
Labels
area/packaging/third-party
Bugs related to third-party packaging.
bug
collectors/go.d
feature request
New features
Bug description
When running netdata plugin from
/nix/store/65d3bnd96b0s5jynnxbrj5py3f44k4b3-netdata-1.45.0/libexec/netdata/plugins.d/go.d.plugin
it causes the config location to be wrong.Expected behavior
Also search
/etc/netdata
.Steps to reproduce
Installation method
other
System info
Netdata build info
Additional info
netdata/src/go/collectors/go.d.plugin/cmd/godplugin/main.go
Lines 48 to 56 in d42b9c6
netdata/src/go/collectors/go.d.plugin/cmd/godplugin/main.go
Lines 73 to 81 in d42b9c6
The text was updated successfully, but these errors were encountered: