Skip to content

Commit e6b09ee

Browse files
committed
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
1 parent 276675f commit e6b09ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/compute/v2/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ def take_action(self, parsed_args):
16771677
if parsed_args.login:
16781678
login = parsed_args.login
16791679
else:
1680-
login = self.app.client_manager._username
1680+
login = self.app.client_manager.auth_ref.username
16811681
if parsed_args.verbose:
16821682
cmd += " -v"
16831683

0 commit comments

Comments
 (0)