summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorDavid Rabel <rabel@b1-systems.de>2019-02-19 12:49:18 +0100
committerDavid Rabel <rabel@b1-systems.de>2019-02-19 12:49:18 +0100
commit55cbbbe4692002e58120b0c129eb2add4f0bc18a (patch)
tree172608f32366b16f5c154661b2c035ff0a81606f /openstackclient
parent0a187905c01f6bc2b9855081ac0042f00715dedf (diff)
downloadpython-openstackclient-55cbbbe4692002e58120b0c129eb2add4f0bc18a.tar.gz
Fix help message of image add project
Only with the admin role you can use the project name with 'image add project'. With the normal member role you have to use the project id instead. If you try to use the name, you don't receive an error, but it won't work. Change-Id: I2d11c07a256917d12c46a7c302c5a5e8752a1df0 Task: 29543 Story: 2002535
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 06eebe98..a898e20f 100644
--- a/openstackclient/image/v2/image.py
+++ b/openstackclient/image/v2/image.py
@@ -86,7 +86,7 @@ class AddProjectToImage(command.ShowOne):
parser.add_argument(
"project",
metavar="<project>",
- help=_("Project to associate with image (name or ID)"),
+ help=_("Project to associate with image (ID)"),
)
common.add_project_domain_option_to_parser(parser)
return parser