Merge "Security group: use correct logging format"

This commit is contained in:
Jenkins 2016-02-19 20:43:47 +00:00 committed by Gerrit Code Review
commit bc4c3c55e6

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