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:
@@ -937,7 +937,7 @@ class vrf(Addon, moduleBase):
|
|||||||
try:
|
try:
|
||||||
ifindex = self.cache.get_ifindex(ifacename)
|
ifindex = self.cache.get_ifindex(ifacename)
|
||||||
except Exception as e:
|
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
|
ifindex = 0
|
||||||
|
|
||||||
if not ifindex:
|
if not ifindex:
|
||||||
|
Reference in New Issue
Block a user