Add support OS_ENDPOINT_TYPE env variable to CLI
Change-Id: I1777d96eff9a5863d6ea61164c5bc91a07354e14 Closes-bug: #1478543
This commit is contained in:
@@ -306,8 +306,10 @@ class OpenStackSaharaShell(object):
|
||||
metavar='<endpoint-type>',
|
||||
default=cliutils.env(
|
||||
'SAHARA_ENDPOINT_TYPE',
|
||||
'OS_ENDPOINT_TYPE',
|
||||
default=DEFAULT_ENDPOINT_TYPE),
|
||||
help='Defaults to env[SAHARA_ENDPOINT_TYPE] or '
|
||||
help=('Defaults to env[SAHARA_ENDPOINT_TYPE] or'
|
||||
' env[OS_ENDPOINT_TYPE] or ')
|
||||
+ DEFAULT_ENDPOINT_TYPE + '.')
|
||||
# NOTE(dtroyer): We can't add --endpoint_type here due to argparse
|
||||
# thinking usage-list --end is ambiguous; but it
|
||||
|
||||
Reference in New Issue
Block a user