diff options
Diffstat (limited to 'openstackclient/api/auth.py')
| -rw-r--r-- | openstackclient/api/auth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/api/auth.py b/openstackclient/api/auth.py index 14bb01d7..d44f2f9d 100644 --- a/openstackclient/api/auth.py +++ b/openstackclient/api/auth.py @@ -85,9 +85,9 @@ def select_auth_plugin(options): # let keystoneclient figure it out itself auth_plugin_name = 'token' else: - raise exc.CommandError( - "Authentication type must be selected with --os-auth-type" - ) + # The ultimate default is similar to the original behaviour, + # but this time with version discovery + auth_plugin_name = 'osc_password' LOG.debug("Auth plugin %s selected" % auth_plugin_name) return auth_plugin_name |
