From d3796ff12d4df1de7bcb426318762145e8c434f9 Mon Sep 17 00:00:00 2001 From: Julien Fortin Date: Tue, 26 Apr 2022 12:09:24 +0200 Subject: [PATCH] sonar: addons: addressvirtual: Replace this formatting argument with a tuple Signed-off-by: Julien Fortin --- ifupdown2/addons/addressvirtual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ifupdown2/addons/addressvirtual.py b/ifupdown2/addons/addressvirtual.py index ed88d82..71ade4f 100644 --- a/ifupdown2/addons/addressvirtual.py +++ b/ifupdown2/addons/addressvirtual.py @@ -397,7 +397,7 @@ class addressvirtual(AddonWithIpBlackList, moduleBase): self.read_file_oneline("/proc/sys/net/ipv4/conf/%s/forwarding" % ifname) ) except Exception as e: - self.logger.info("%s: syncing macvlan forwarding with lower device forwarding state failed: %s" % str(e)) + self.logger.info("%s: syncing macvlan forwarding with lower device forwarding state failed: %s" % (ifname, str(e))) def create_macvlan_and_apply_config(self, ifaceobj, intf_config_list, vrrp=False):