Skip to content

Commit

Permalink
fix(linux_networking): add more information to errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Apr 27, 2024
1 parent e40f46e commit 567c891
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controllers/proxy/linux_networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ func (ln *linuxNetworking) ipAddrDel(iface netlink.Link, ip string, nodeIP strin
if err != nil {
if err.Error() != IfaceHasNoAddr {
klog.Errorf("Failed to verify is external ip %s is assocated with dummy interface %s due to %s",
ip, KubeDummyIf, err.Error())
ip, iface.Attrs().Name, err.Error())
return err
} else {
klog.Warningf("got an IfaceHasNoAddr error while trying to delete address from netlink: %v (this is not "+
"normally bad enough to stop processing)", err)
klog.Warningf("got an IfaceHasNoAddr error while trying to delete address %s from netlink %s: %v (this "+
"is not normally bad enough to stop processing)", ip, iface.Attrs().Name, err)
}
}

Expand Down

0 comments on commit 567c891

Please sign in to comment.