Merge "Add os_ prefix to project_domain_name/id"

This commit is contained in:
Jenkins
2015-01-04 10:40:07 +00:00
committed by Gerrit Code Review
2 changed files with 19 additions and 3 deletions
+3 -3
View File
@@ -480,12 +480,12 @@ class OpenStackImagesShell(object):
project_info = (args.os_tenant_name or
args.os_tenant_id or
(args.os_project_name and
(args.project_domain_name or
args.project_domain_id)) or
(args.os_project_domain_name or
args.os_project_domain_id)) or
args.os_project_id)
if (not project_info):
# tenent is deprecated in Keystone v3. Use the latest
# tenant is deprecated in Keystone v3. Use the latest
# terminology instead.
raise exc.CommandError(
_("You must provide a project_id or project_name ("