Missing close " (#42985)

Command was missing a close `"`. This was still interpreted properly by the switch, and was not breaking anything, but this is tidier.
pull/42967/merge
Lindsay Hill 6 years ago committed by Ganesh Nalawade
parent d2409fb165
commit 70564ffd89

@ -49,7 +49,7 @@ class Cliconf(CliconfBase):
if match: if match:
device_info['network_os_model'] = match.group(2) device_info['network_os_model'] = match.group(2)
reply = self.get(b'show running-config | inc "switch-attributes host-name') reply = self.get(b'show running-config | inc "switch-attributes host-name"')
data = to_text(reply, errors='surrogate_or_strict').strip() data = to_text(reply, errors='surrogate_or_strict').strip()
match = re.search(r'switch-attributes host-name (\S+)', data, re.M) match = re.search(r'switch-attributes host-name (\S+)', data, re.M)

Loading…
Cancel
Save