Commit 0ff9edb
committed
sq-poller: Fix reference to undefined self.prompt in _ssh_connect
_ssh_connect was refactored in PR #877 and introduced a reference to self.prompt before prompt was defined.
This resulted in the error:
suzieq.poller.worker.nodes.node - ERROR - Unable to create persistent SSH session for 1.2.3.4 due to 'IosXENode' object has no attribute 'prompt'
Signed-off-by: Chris Bennett <[email protected]>1 parent b22700e commit 0ff9edb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1679 | 1679 | | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | | - | |
1683 | 1682 | | |
1684 | 1683 | | |
1685 | 1684 | | |
| |||
1689 | 1688 | | |
1690 | 1689 | | |
1691 | 1690 | | |
| 1691 | + | |
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
| |||
0 commit comments