NSX|v3 fix MAC learning exception format

TrivialFix

Change-Id: I50f639cb5f781afa6c47cf9207e93bf153c83a6b
This commit is contained in:
Adit Sarfaty 2016-06-27 15:20:09 +03:00
parent 06bfe48b6d
commit cd041ff985

View File

@ -213,7 +213,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
self.supported_extension_aliases.append('mac-learning') self.supported_extension_aliases.append('mac-learning')
except Exception as e: except Exception as e:
LOG.warning(_LW("Unable to initialize NSX v3 MAC Learning " LOG.warning(_LW("Unable to initialize NSX v3 MAC Learning "
"profile: %(name)s. Reason: %s(reason)"), "profile: %(name)s. Reason: %(reason)s"),
{'name': NSX_V3_MAC_LEARNING_PROFILE_NAME, {'name': NSX_V3_MAC_LEARNING_PROFILE_NAME,
'reason': e}) 'reason': e})
self._unsubscribe_callback_events() self._unsubscribe_callback_events()