summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorzheng yin <yin.zheng@easystack.cn>2016-06-06 11:09:25 +0800
committerzheng yin <yin.zheng@easystack.cn>2016-06-06 11:09:25 +0800
commit2c965b88f6f15d7eee1b7f68dc8ce344b8592746 (patch)
tree3bc4739e1694fda8fcc113211cc5df3ea3f3ced3 /openstackclient
parent9f65a9954c0563038f3223700bc9f8205addbc79 (diff)
downloadpython-openstackclient-2c965b88f6f15d7eee1b7f68dc8ce344b8592746.tar.gz
fix image unset
modify "target" to "tagret" Change-Id: I80674b23804b26430aed13b5e6c6dc2b240771cd
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/image/v2/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py
index a81f092c..fa1de424 100644
--- a/openstackclient/image/v2/image.py
+++ b/openstackclient/image/v2/image.py
@@ -933,7 +933,7 @@ class UnsetImage(command.Command):
'propret': propret, 'proptotal': proptotal})
raise exceptions.CommandError(msg)
elif tagret > 0:
- msg = (_("Failed to unset %(target)s of %(tagtotal)s tags.")
+ msg = (_("Failed to unset %(tagret)s of %(tagtotal)s tags.")
% {'tagret': tagret, 'tagtotal': tagtotal})
raise exceptions.CommandError(msg)
elif propret > 0: