Merge "Fix Log.exception format errors"

This commit is contained in:
Zuul 2019-04-14 05:26:53 +00:00 committed by Gerrit Code Review
commit 8ca605bee2
3 changed files with 6 additions and 6 deletions

View File

@ -154,8 +154,8 @@ class TestMultiHVNetworkOps(manager.NetworkScenarioTest):
(ssh_source, remote_ip, should_connect),
msg)
except Exception:
LOG.exception("Unable to access %{dest}s via ssh to "
"floating-ip %{src}s",
LOG.exception("Unable to access %(dest)s via ssh to "
"floating-ip %(src)s",
{'dest': remote_ip, 'src': floating_ip})
raise

View File

@ -195,8 +195,8 @@ class TestMultiNetworksOps(manager.NetworkScenarioTest):
(ssh_source, remote_ip, should_connect),
msg)
except Exception:
LOG.exception("Unable to access %{dest}s via ssh to "
"floating-ip %{src}s",
LOG.exception("Unable to access %(dest)s via ssh to "
"floating-ip %(src)s",
{'dest': remote_ip, 'src': floating_ip})
raise

View File

@ -240,8 +240,8 @@ class TestRouterNoNATOps(manager.NetworkScenarioTest):
(ssh_source, remote_ip, should_connect),
msg)
except Exception:
LOG.exception("Unable to access %{dest}s via ssh to "
"floating-ip %{src}s",
LOG.exception("Unable to access %(dest)s via ssh to "
"floating-ip %(src)s",
{'dest': remote_ip, 'src': floating_ip})
raise