cosmetic: remove outdated comment

we now do correctly fall back to proc scanning when eBPF fails
This commit is contained in:
Matthias Radestock
2017-05-25 22:22:44 +01:00
parent a6cc8ece4f
commit b80a51bc39

View File

@@ -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)
}