diff options
author | yayogev <yaronyogev@gmail.com> | 2017-08-21 10:04:17 +0300 |
---|---|---|
committer | yayogev <yaronyogev@gmail.com> | 2017-08-21 10:04:17 +0300 |
commit | f1a8bef9f98a4601de16ee96ac1e68b212d104d8 (patch) | |
tree | a7c011ec52c27dba9a61f0c1b2c282d6bf790d6e /app | |
parent | 53bbf93de9cab75367b4b5fcf21f1e3de41e2d2e (diff) |
fix initialization of SshConnection from SshConn
Change-Id: I0967895b8bbc249643527f9ffbff4aaf46c43e14
Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/utils/ssh_conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |