Code Review
/
calipso.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
53bbf93
)
fix initialization of SshConnection from SshConn
21/39721/1
author
yayogev
<yaronyogev@gmail.com>
Mon, 21 Aug 2017 07:04:17 +0000
(10:04 +0300)
committer
yayogev
<yaronyogev@gmail.com>
Mon, 21 Aug 2017 07:04:17 +0000
(10:04 +0300)
Change-Id: I0967895b8bbc249643527f9ffbff4aaf46c43e14
Signed-off-by: yayogev <yaronyogev@gmail.com>
app/utils/ssh_conn.py
patch
|
blob
|
history
diff --git
a/app/utils/ssh_conn.py
b/app/utils/ssh_conn.py
index
d4b7954
..
c58b980
100644
(file)
--- 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: