1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

sonar: addons: vrf: debug log formatting issue

Sonar error:
"Replace this formatting argument with a tuple."

Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
Julien Fortin
2022-04-26 12:06:13 +02:00
parent 265bf3d3b0
commit 5e3ea6fc62

View File

@ -937,7 +937,7 @@ class vrf(Addon, moduleBase):
try:
ifindex = self.cache.get_ifindex(ifacename)
except Exception as e:
self.logger.debug("%s: vrf: close sockets error: %s" % str(e))
self.logger.debug("%s: vrf: close sockets error: %s" % (ifacename, str(e)))
ifindex = 0
if not ifindex: