Fix the typo in openstackclient/shell.py
Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
This commit is contained in:
parent
aac0d588bd
commit
b3289601c7
@ -43,7 +43,7 @@ DEFAULT_DOMAIN = 'default'
|
|||||||
def prompt_for_password(prompt=None):
|
def prompt_for_password(prompt=None):
|
||||||
"""Prompt user for a password
|
"""Prompt user for a password
|
||||||
|
|
||||||
Propmpt for a password if stdin is a tty.
|
Prompt for a password if stdin is a tty.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not prompt:
|
if not prompt:
|
||||||
@ -228,7 +228,7 @@ class OpenStackShell(app.App):
|
|||||||
# Parent __init__ parses argv into self.options
|
# Parent __init__ parses argv into self.options
|
||||||
super(OpenStackShell, self).initialize_app(argv)
|
super(OpenStackShell, self).initialize_app(argv)
|
||||||
|
|
||||||
# Set the default plugin to token_endpoint if rl and token are given
|
# Set the default plugin to token_endpoint if url and token are given
|
||||||
if (self.options.url and self.options.token):
|
if (self.options.url and self.options.token):
|
||||||
# Use service token authentication
|
# Use service token authentication
|
||||||
cloud_config.set_default('auth_type', 'token_endpoint')
|
cloud_config.set_default('auth_type', 'token_endpoint')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user