Skip to content

Commit

Permalink
fix: Add default case into endpointWatcherCallbackFn
Browse files Browse the repository at this point in the history
Signed-off-by: Yerlan Baiturinov <[email protected]>
  • Loading branch information
byte-msft committed Jan 22, 2025
1 parent 31aa74c commit fdab1aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/plugin/packetparser/packetparser_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ func (p *packetParser) endpointWatcherCallbackFn(obj interface{}) {
p.tcMap.Delete(ifaceKey)
}
p.interfaceLockMap.Delete(ifaceKey)
default:
// Unknown.
p.l.Debug("Unknown event", zap.String("type", event.Type.String()))
}
}

Expand Down

0 comments on commit fdab1aa

Please sign in to comment.