@cryptotaxi247 / netdata-1 / commits / 9b7622df0

fix(go.d/sd): fix logging cfg source when disabled (#19777)

Ilya Mashchenko committed Mar 5, 2025 at 14:03 UTC 9b7622df0fc420a40774079502cbd5d5ce7a66c4
1 file changed +1 -1
src/go/plugin/go.d/agent/discovery/sd/sd.go
+1 -1
@@ -113,7 +113,7 @@ func (d *ServiceDiscovery) addPipeline(ctx context.Context, conf confFile, in ch
113 }
114
115 if cfg.Disabled {
116 - d.Infof("pipeline config is disabled '%s' (%s)", cfg.Name, cfg.Source)
116 + d.Infof("pipeline config is disabled '%s' (%s)", cfg.Name, conf.source)
117 return
118 }
119