Fix a log formatting error on linuxbridge

Change-Id: I76c547fdfb4b474d4c17716087215775c1539b08
This commit is contained in:
Hongbin Lu 2018-02-20 23:26:31 +00:00
parent 03b1cca794
commit 2ac2c34eb1

View File

@ -257,7 +257,7 @@ class LinuxBridgeManager(amb.CommonAgentManagerBase):
if not interface: if not interface:
LOG.error("Failed creating vxlan interface for " LOG.error("Failed creating vxlan interface for "
"%(segmentation_id)s", "%(segmentation_id)s",
{segmentation_id: segmentation_id}) {'segmentation_id': segmentation_id})
return return
bridge_name = self.get_bridge_name(network_id) bridge_name = self.get_bridge_name(network_id)
self.ensure_bridge(bridge_name, interface, update_interface=False) self.ensure_bridge(bridge_name, interface, update_interface=False)