From 55cbbbe4692002e58120b0c129eb2add4f0bc18a Mon Sep 17 00:00:00 2001 From: David Rabel Date: Tue, 19 Feb 2019 12:49:18 +0100 Subject: [PATCH] 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 --- 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 06eebe984c..a898e20fef 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="", - 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