Fix log message type
Change-Id: I6df3f94f332e00c969143009492e50b1e8d5e293
This commit is contained in:
parent
0a9fa14db4
commit
9ed9a53534
@ -444,7 +444,7 @@ class NsxPluginBase(db_base_plugin_v2.NeutronDbPluginV2,
|
|||||||
def _log_get_ports(self, ports, filters):
|
def _log_get_ports(self, ports, filters):
|
||||||
if len(ports) > 0:
|
if len(ports) > 0:
|
||||||
LOG.debug("Getting %(num)s port%(plural)s with %(filters)s",
|
LOG.debug("Getting %(num)s port%(plural)s with %(filters)s",
|
||||||
{'len': len(ports),
|
{'num': len(ports),
|
||||||
'plural': 's' if len(ports) > 1 else '',
|
'plural': 's' if len(ports) > 1 else '',
|
||||||
'filters': ('filters ' + str(filters) if filters
|
'filters': ('filters ' + str(filters) if filters
|
||||||
else 'no filters')})
|
else 'no filters')})
|
||||||
|
Loading…
Reference in New Issue
Block a user