diff options
| author | Jenkins <jenkins@review.openstack.org> | 2014-10-22 20:04:28 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2014-10-22 20:04:28 +0000 |
| commit | b5bee429a4e57db7b3a2d1778c259c015f69e29c (patch) | |
| tree | 2f8270782daa1fc2f58235870603a5e3bd4ef326 /openstackclient/api | |
| parent | 5b7d3ba9dc629b7b37d211d7544558092c2181ac (diff) | |
| parent | e063246b97a7f31a47aca0a5eb36d571f5df7236 (diff) | |
| download | python-openstackclient-b5bee429a4e57db7b3a2d1778c259c015f69e29c.tar.gz | |
Merge "Clean up shell authentication"
Diffstat (limited to 'openstackclient/api')
| -rw-r--r-- | openstackclient/api/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/auth.py b/openstackclient/api/auth.py index e33b72d5..f6e99cdc 100644 --- a/openstackclient/api/auth.py +++ b/openstackclient/api/auth.py @@ -62,7 +62,7 @@ def select_auth_plugin(options): if options.os_url and options.os_token: # service token authentication auth_plugin = 'token_endpoint' - elif options.os_password: + elif options.os_username: if options.os_identity_api_version == '3': auth_plugin = 'v3password' elif options.os_identity_api_version == '2.0': |
