Fix log message type

Change-Id: I6df3f94f332e00c969143009492e50b1e8d5e293
This commit is contained in:
asarfaty 2019-12-17 11:11:01 +02:00
parent 0a9fa14db4
commit 9ed9a53534

View File

@ -444,7 +444,7 @@ class NsxPluginBase(db_base_plugin_v2.NeutronDbPluginV2,
def _log_get_ports(self, ports, filters):
if len(ports) > 0:
LOG.debug("Getting %(num)s port%(plural)s with %(filters)s",
{'len': len(ports),
{'num': len(ports),
'plural': 's' if len(ports) > 1 else '',
'filters': ('filters ' + str(filters) if filters
else 'no filters')})