]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
util: use new location for needs_ssh
authorAlfredo Deza <adeza@redhat.com>
Tue, 16 Apr 2019 14:50:26 +0000 (10:50 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 16 Apr 2019 14:50:26 +0000 (10:50 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rm#39322

ceph_deploy/util/ssh.py

index 2aaa5e1e6ceaa201c13af253b6f6cca9d6509475..7c48d9cded551824d11f6c1a375909d4b28e50aa 100644 (file)
@@ -12,7 +12,7 @@ def can_connect_passwordless(hostname):
     denied`` message or a``Host key verification failed`` message.
     """
     # Ensure we are not doing this for local hosts
-    if not remoto.connection.needs_ssh(hostname):
+    if not remoto.backends.needs_ssh(hostname):
         return True
 
     logger = logging.getLogger(hostname)