mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Fix --password in server rebuild
Use correct attribute to get password in server rebuild command. Fixes bug 1190722 Change-Id: Ibe2ccb8840a385319781885b8aadca6e1ba4cc43
This commit is contained in:
parent
7b47579dad
commit
61beeb7e20
1 changed files with 2 additions and 2 deletions
|
|
@ -521,8 +521,8 @@ class RebuildServer(show.ShowOne):
|
|||
compute_client.servers, parsed_args.server)
|
||||
|
||||
_password = None
|
||||
if parsed_args.rebuild_password is not False:
|
||||
_password = parsed_args.rebuild_password
|
||||
if parsed_args.password is not False:
|
||||
_password = parsed_args.password
|
||||
|
||||
kwargs = {}
|
||||
server = server.rebuild(image, _password, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue