Fix typo in SSH connection string for cisco ios device_tracker (#138584)
Update device_tracker.py Typo in "uft-8" -> pxssh.pxssh(encoding="utf-8")pull/139088/head
parent
5b0eca7f85
commit
8ce2727447
|
@ -104,7 +104,7 @@ class CiscoDeviceScanner(DeviceScanner):
|
||||||
"""Open connection to the router and get arp entries."""
|
"""Open connection to the router and get arp entries."""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cisco_ssh: pxssh.pxssh[str] = pxssh.pxssh(encoding="uft-8")
|
cisco_ssh: pxssh.pxssh[str] = pxssh.pxssh(encoding="utf-8")
|
||||||
cisco_ssh.login(
|
cisco_ssh.login(
|
||||||
self.host,
|
self.host,
|
||||||
self.username,
|
self.username,
|
||||||
|
|
Loading…
Reference in New Issue