mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Correct login name deduction in SshServer
Currently SshServer ("server ssh" command) raises an AttributeError if
no explicit login is provided because it uses an attribute which no more
exists.
Change-Id: I86f68230037d51efb41aca62e07e058733ecd67a
Closes-Bug: #1624085
This commit is contained in:
parent
276675f352
commit
e6b09eef0c
1 changed files with 1 additions and 1 deletions
|
|
@ -1677,7 +1677,7 @@ class SshServer(command.Command):
|
|||
if parsed_args.login:
|
||||
login = parsed_args.login
|
||||
else:
|
||||
login = self.app.client_manager._username
|
||||
login = self.app.client_manager.auth_ref.username
|
||||
if parsed_args.verbose:
|
||||
cmd += " -v"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue