Skip to content

Commit

Permalink
fix: delete iface from pending list failed
Browse files Browse the repository at this point in the history
  • Loading branch information
BaiMeow committed Nov 24, 2024
1 parent 49b935e commit e3f37e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (d *daemon) updateLoop() {
deleteList = append(deleteList, iface)
}
for _, iface := range deleteList {
slices.DeleteFunc(d.pendingIfaces, func(i string) bool {
d.pendingIfaces = slices.DeleteFunc(d.pendingIfaces, func(i string) bool {
return i == iface
})
}
Expand Down

0 comments on commit e3f37e7

Please sign in to comment.