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
@ -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…
x
Reference in New Issue
Block a user