diff options
author | Miroslav Miklus <mmiklus@cisco.com> | 2016-05-08 14:11:51 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2016-06-28 00:15:03 +0000 |
commit | cbd47fbe97945e9dc6584d08cd2266e3a7536a68 (patch) | |
tree | 9344a863606381b2ce8069d82f0731440c31b295 /resources/libraries/python/ssh.py | |
parent | 1689b0781206d874fd2b664cdd7d770f1e3932c8 (diff) |
Use interface key instead of interface name.
JIRA: CSIT-141
Change-Id: I75cef6d570ab45ea9c4af838b6bf68cefc7c1a91
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries/python/ssh.py')
-rw-r--r-- | resources/libraries/python/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/ssh.py b/resources/libraries/python/ssh.py index 67193c11e2..a96a55f257 100644 --- a/resources/libraries/python/ssh.py +++ b/resources/libraries/python/ssh.py @@ -250,7 +250,7 @@ def exec_cmd(node, cmd, timeout=None, sudo=False): try: ssh.connect(node) except Exception, e: - logger.error("Failed to connect to node" + e) + logger.error("Failed to connect to node" + str(e)) return None try: |