mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
pybind/mgr/cephadm/module: assure self.ssh_user is not None
to appease mypy Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
cb3a50cd36
commit
2fd0a03192
@ -1092,6 +1092,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule,
|
||||
return conn, r
|
||||
else:
|
||||
self._reset_con(host)
|
||||
assert self.ssh_user
|
||||
n = self.ssh_user + '@' + host
|
||||
self.log.debug("Opening connection to {} with ssh options '{}'".format(
|
||||
n, self._ssh_options))
|
||||
|
Loading…
Reference in New Issue
Block a user