mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-05 19:21:46 +00:00
cosmetic: remove outdated comment
we now do correctly fall back to proc scanning when eBPF fails
This commit is contained in:
@@ -96,9 +96,6 @@ func (t *connectionTracker) ReportConnections(rpt *report.Report) {
|
||||
if t.flowWalker != nil {
|
||||
t.performFlowWalk(rpt, &seenTuples)
|
||||
}
|
||||
// if eBPF was enabled but failed to initialize, Scanner will be nil.
|
||||
// We can't recover from this, so don't walk proc in that case.
|
||||
// TODO: implement fallback
|
||||
if t.conf.WalkProc && t.conf.Scanner != nil {
|
||||
t.performWalkProc(rpt, hostNodeID, &seenTuples)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user