summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaifeng Wang <kaifeng.w@gmail.com>2018-10-18 10:44:28 +0800
committerKaifeng Wang <kaifeng.w@gmail.com>2018-10-23 00:47:47 +0000
commite945946df4b2bbd050c9f7b2ca3b8a3722b1f69b (patch)
tree9641fa7aa632cdaff8e503d994cdbeedbe0bf997
parent65f617311625dbdb9cc61d7d0fa98f56cdb1c5df (diff)
downloadpython-ironicclient-queens-em.tar.gz
Fix a LOG.warning which didn't work properlyqueens-em2.2.2
Found when checking ci logs here: http://logs.openstack.org/41/587041/3/check/ironic-inspector-tempest-dsvm-discovery/7912a3a/logs/screen-ironic-inspector.txt.gz#_Oct_17_16_44_39_477744 It's supposed to be printing missing arguments when constructing an http client. The http client is supposed to be removed ?soon?, so if the fix is not required, please let me know. Change-Id: I2bad387afa2ede56da7164a7bc9a5ac461e78d9c (cherry picked from commit a28ccb9ef8a55f96923ba4a3af12b73a91b2e448)
-rw-r--r--ironicclient/common/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironicclient/common/http.py b/ironicclient/common/http.py
index 35d1ccb..e356920 100644
--- a/ironicclient/common/http.py
+++ b/ironicclient/common/http.py
@@ -711,7 +711,7 @@ def _construct_http_client(endpoint=None,
else:
if kwargs:
LOG.warning('The following arguments are being ignored when '
- 'constructing the client: %s'), ', '.join(kwargs)
+ 'constructing the client: %s', ', '.join(kwargs))
return HTTPClient(endpoint=endpoint,
token=token,