From 2c965b88f6f15d7eee1b7f68dc8ce344b8592746 Mon Sep 17 00:00:00 2001 From: zheng yin Date: Mon, 6 Jun 2016 11:09:25 +0800 Subject: [PATCH] fix image unset modify "target" to "tagret" Change-Id: I80674b23804b26430aed13b5e6c6dc2b240771cd --- openstackclient/image/v2/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py index a81f092c31..fa1de42419 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: