Fix OS_PROJECT_ID not getting read by client

Fixes the bug where OS_PROJECT_ID is not being picked up.
Closes-Bug: #1499545

Change-Id: I95f62e28e40c6f0c8c2437e0a681f91a551a96bb
This commit is contained in:
Fernando Diaz
2015-09-24 21:05:12 -05:00
parent 97cc46ac28
commit 0306b2b3de

View File

@@ -237,7 +237,7 @@ class Barbican(app.App):
help='Defaults to env[OS_TENANT_ID].')
parser.add_argument('--os-project-id',
metavar='<auth-project-id>',
default=client.env('OS_PROJECT__ID'),
default=client.env('OS_PROJECT_ID'),
help='Another way to specify tenant ID. '
'This option is mutually exclusive with '
' --os-tenant-id. '