Fixing some typos found during translation
Change-Id: Ic0e9ea6aa84c30996b29dce3bfa06b443e9adcc4
This commit is contained in:
parent
5658b599d0
commit
1584005b23
@ -274,7 +274,7 @@ class MidoClient:
|
|||||||
:returns: newly created router
|
:returns: newly created router
|
||||||
"""
|
"""
|
||||||
LOG.debug(_("MidoClient.create_tenant_router called: "
|
LOG.debug(_("MidoClient.create_tenant_router called: "
|
||||||
"tenant_id=%(tenant_id)s, name=%(name)s"
|
"tenant_id=%(tenant_id)s, name=%(name)s,"
|
||||||
" metadata_router=%(metadata_router)s"),
|
" metadata_router=%(metadata_router)s"),
|
||||||
{'tenant_id': tenant_id, 'name': name,
|
{'tenant_id': tenant_id, 'name': name,
|
||||||
'metadata_router': metadata_router})
|
'metadata_router': metadata_router})
|
||||||
|
@ -746,7 +746,7 @@ def create_lport(cluster, lswitch_uuid, tenant_id, neutron_port_id,
|
|||||||
result = do_request(HTTP_POST, path, json.dumps(lport_obj),
|
result = do_request(HTTP_POST, path, json.dumps(lport_obj),
|
||||||
cluster=cluster)
|
cluster=cluster)
|
||||||
|
|
||||||
LOG.debug(_("Created logical port %(result)s on logical swtich %(uuid)s"),
|
LOG.debug(_("Created logical port %(result)s on logical switch %(uuid)s"),
|
||||||
{'result': result['uuid'], 'uuid': lswitch_uuid})
|
{'result': result['uuid'], 'uuid': lswitch_uuid})
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ class OwnerCheck(policy.Check):
|
|||||||
match)[0]
|
match)[0]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
err_reason = (_("Unable to identify a target field from:%s."
|
err_reason = (_("Unable to identify a target field from:%s."
|
||||||
"match should be in the form %%(<field_name>)s"),
|
"match should be in the form %%(<field_name>)s") %
|
||||||
match)
|
match)
|
||||||
LOG.exception(err_reason)
|
LOG.exception(err_reason)
|
||||||
raise exceptions.PolicyInitError(
|
raise exceptions.PolicyInitError(
|
||||||
|
Loading…
Reference in New Issue
Block a user