From f1a8bef9f98a4601de16ee96ac1e68b212d104d8 Mon Sep 17 00:00:00 2001 From: yayogev Date: Mon, 21 Aug 2017 10:04:17 +0300 Subject: fix initialization of SshConnection from SshConn Change-Id: I0967895b8bbc249643527f9ffbff4aaf46c43e14 Signed-off-by: yayogev --- app/utils/ssh_conn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/utils/ssh_conn.py b/app/utils/ssh_conn.py index d4b7954..c58b980 100644 --- a/app/utils/ssh_conn.py +++ b/app/utils/ssh_conn.py @@ -38,7 +38,7 @@ class SshConn(SshConnection): self.user = None self.pwd = None self.check_definitions() - super().__init__(self.host, self.user, _pwd=self.pwd, _key=self.key, + super().__init__(host_name, self.user, _pwd=self.pwd, _key=self.key, _port=self.port, for_sftp=for_sftp) self.inv = InventoryMgr() if host_name in self.connections and not self.ssh: -- cgit 1.2.3-korg