mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 20:07:06 +00:00
Review feedback
This commit is contained in:
+1
-2
@@ -145,10 +145,9 @@ func probeMain(flags probeFlags) {
|
||||
p.AddReporter(process.NewReporter(processCache, hostID, process.GetDeltaTotalJiffies))
|
||||
}
|
||||
|
||||
// TODO: make the snooper optional
|
||||
dnsSnooper, err := endpoint.NewDNSSnooper()
|
||||
if err != nil {
|
||||
log.Errorf("Fail to start DNS snooper: nodes for external services will be less accurate: %s", err)
|
||||
log.Errorf("Failed to start DNS snooper: nodes for external services will be less accurate: %s", err)
|
||||
} else {
|
||||
defer dnsSnooper.Stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user