diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2017-01-11 16:08:04 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2017-01-11 16:23:32 +0100 |
| commit | e6fee0d90745219766533be531f6932951efe6b0 (patch) | |
| tree | f8dfbbc40f872d7fb748792a2919b0dd189b48d5 /docker | |
| parent | 302658210ee5f6e293dd116642346fb8ee7e5caf (diff) | |
| download | kolla-e6fee0d90745219766533be531f6932951efe6b0.tar.gz kolla-e6fee0d90745219766533be531f6932951efe6b0.zip | |
Fix string formatting on error log
The missing parenthesys caused a string formatting error, which hides
the actual failure when running the container.
Change-Id: Ieebf4abd536ccfceeba645c52b109b00faf4ee57
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/base/set_configs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/base/set_configs.py b/docker/base/set_configs.py index 79e520f62..7d10772e2 100644 --- a/docker/base/set_configs.py +++ b/docker/base/set_configs.py @@ -343,7 +343,7 @@ if __name__ == "__main__": try: main() except ExitingException as e: - LOG.error("%s: %s" % e.__class__.__name__, e) + LOG.error("%s: %s", e.__class__.__name__, e) _exit_code = e.exit_code except Exception: LOG.exception('Unexpected error:') |
