diff options
author | zhufl <zhu.fanglei@zte.com.cn> | 2019-05-21 14:59:53 +0800 |
---|---|---|
committer | zhufl <zhu.fanglei@zte.com.cn> | 2019-05-21 15:03:08 +0800 |
commit | 036ae75689a8bdbb38c471e417bc71becb423bb0 (patch) | |
tree | 891353b1a0bb2578a41963af057453e08ac6ebb3 /heatclient/common | |
parent | 270b7a0b43a440932b99f5db4213c5ce1a108c17 (diff) | |
download | python-heatclient-036ae75689a8bdbb38c471e417bc71becb423bb0.tar.gz |
Fix missing print format
This is to:
1. Add missing print format for "%(hook_type)".
2. Add ws between words in log message "notavailable".
Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
Diffstat (limited to 'heatclient/common')
-rw-r--r-- | heatclient/common/hook_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/common/hook_utils.py b/heatclient/common/hook_utils.py index e970690..c08005c 100644 --- a/heatclient/common/hook_utils.py +++ b/heatclient/common/hook_utils.py @@ -29,7 +29,7 @@ def clear_hook(hc, stack_id, resource_name, hook_type): except exc.HTTPNotFound: logger.error( "Stack %(stack)s or resource %(resource)s " - "not found for hook %(hook_type)", + "not found for hook %(hook_type)s", {'resource': resource_name, 'stack': stack_id, 'hook_type': hook_type}) |