@cryptotaxi247 / netdata-1 / commits / 7c2579c1e

fix(go.d): correct sd dir (#19155)

Ilya Mashchenko committed Dec 7, 2024 at 20:29 UTC 7c2579c1edeb26c3f28f7e9c786d1d5a8f43a104
1 file changed +1 -1
src/go/cmd/godplugin/config.go
+1 -1
@@ -150,7 +150,7 @@ func (c *config) initServiceDiscoveryConfigDir() multipath.MultiPath {
150 var mpath multipath.MultiPath
151
152 for _, v := range c.pluginDir {
153 - mpath = append(mpath, filepath.Join(v, "sd"))
153 + mpath = append(mpath, filepath.Join(v, c.name, "sd"))
154 }
155
156 return mpath