mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-21 06:20:31 +00:00
Remove pointer receiver from method signature
method does not need to modify caller
This commit is contained in:
@@ -142,7 +142,7 @@ func (t *EbpfTracker) run() {
|
||||
}
|
||||
|
||||
// WalkEvents - walk through the connectionEvents
|
||||
func (t *EbpfTracker) WalkEvents(f func(ConnectionEvent)) {
|
||||
func (t EbpfTracker) WalkEvents(f func(ConnectionEvent)) {
|
||||
for _, event := range t.Events {
|
||||
f(event)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user