Security group: use correct logging format

Commit ef29f7eb9a2a37133eacdb7f019b48ec3f9a42c3 added a warning
that is not in the standard format. This patch fixes that and
also tweaks the indentation.

TrivialFix

Change-Id: Ib1fb1688b9421b27d2dec27017ab9f3fdc158497
This commit is contained in:
Gary Kotton 2016-02-18 06:50:00 -08:00
parent 1d0aadb6fc
commit 9d8b41e780

View File

@ -104,11 +104,11 @@ class SecurityGroupAgentRpc(object):
self.firewall = firewall_class(
integration_bridge=integration_bridge)
except TypeError as e:
LOG.warning(_LW("Firewall driver {fw_driver} doesn't accept "
LOG.warning(_LW("Firewall driver %(fw_driver)s doesn't accept "
"integration_bridge parameter in __init__(): "
"{err}"),
fw_driver=firewall_driver,
err=e)
"%(err)s"),
{'fw_driver': firewall_driver,
'err': e})
self.firewall = firewall_class()
# The following flag will be set to true if port filter must not be
# applied as soon as a rule or membership notification is received