Fix error print format

This is to fix the error print format of "%{mtu}s".

Change-Id: I0506f4d2e9f8a984d7c7ed8584afcdfd1a8c6ac1
This commit is contained in:
zhufl 2019-04-29 09:52:24 +08:00
parent 8790c293e1
commit 51aa1d8cd3
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def find_ports_by_mtu(all_ports, port_ids_conf, mtu):
managed_port_map, unmatched = match_ports(valid_ports, port_ids_conf)
if not managed_port_map:
msg = (_('None of the configured port %(conf)s matches the mtu '
'%{mtu}s.') % {'conf': port_ids_conf, 'mtu': mtu})
'%(mtu)s.') % {'conf': port_ids_conf, 'mtu': mtu})
raise exception.ShareBackendException(msg=msg)
return managed_port_map