Skip to content

Commit

Permalink
silly error in link watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
hedibouattour committed Sep 1, 2023
1 parent 20448e5 commit 013999f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calico-vpp-agent/watchers/uplink_link_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (r *LinkWatcher) WatchLinks(t *tomb.Tomb) error {
}
found := false
v := config.UplinkStatus{}
for _, v := range r.UplinkStatuses {
for _, v = range r.UplinkStatuses {
if update.Attrs().Index == v.LinkIndex {
found = true
break
Expand Down

0 comments on commit 013999f

Please sign in to comment.