]> git.proxmox.com Git - mirror_ifupdown2.git/commit
nlcache: link_del: move log.info after get_ifindex check
authorJulien Fortin <julien@cumulusnetworks.com>
Fri, 26 Jun 2020 12:49:24 +0000 (14:49 +0200)
committerJulien Fortin <julien@cumulusnetworks.com>
Thu, 6 Aug 2020 12:35:02 +0000 (14:35 +0200)
commit5f0ba5190f45a0cda9b0d936477972d2d9f771a6
tree1956e702c06d28c02ef98c6c9c4d753a157cc8ff
parentca43693778e7c35cc41494a07109e3ea426a09c6
nlcache: link_del: move log.info after get_ifindex check

if the link doesn't exists get_ifindex will raise an exception
new code in the bridge module simply call link_del on a dummy port
that may not exists. It was a bit confusing to see the log.info
stating that a port was getting removed...

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ifupdown2/lib/nlcache.py