summaryrefslogtreecommitdiff
path: root/ironicclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironicclient/shell.py')
-rw-r--r--ironicclient/shell.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ironicclient/shell.py b/ironicclient/shell.py
index 1720766..3577a5c 100644
--- a/ironicclient/shell.py
+++ b/ironicclient/shell.py
@@ -331,8 +331,7 @@ class IronicShell(object):
self.do_bash_completion()
return 0
- if not (args.os_auth_token and (args.ironic_url or args.os_endpoint or
- args.os_auth_url)):
+ if not (args.os_auth_token and (args.ironic_url or args.os_auth_url)):
if not args.os_username:
raise exc.CommandError(_("You must provide a username via "
"either --os-username or via "