Fix auth-required for help command
When we got picky with the auth arguments we broke using help without any auth config supplied. This rearranges things a bit to do the argument checking when the deferred auth request to Identity occurs so commands that do not need auth have a chance to live short but useful lives. Closes-Bug: #1399588 Change-Id: I8ceac491cf65e25eddb62ab2713f471fe686756d
This commit is contained in:
examples
openstackclient
@ -59,7 +59,7 @@ def run(opts):
|
||||
# Collect the auth and config options together and give them to
|
||||
# ClientManager and it will wrangle all of the goons into place.
|
||||
client_manager = clientmanager.ClientManager(
|
||||
auth_options=opts,
|
||||
cli_options=opts,
|
||||
verify=verify,
|
||||
api_version=api_version,
|
||||
)
|
||||
|
Reference in New Issue
Block a user