From 70564ffd893a44e4868910311672398a690e56ab Mon Sep 17 00:00:00 2001 From: Lindsay Hill Date: Wed, 18 Jul 2018 22:54:52 -0500 Subject: [PATCH] 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. --- lib/ansible/plugins/cliconf/slxos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/cliconf/slxos.py b/lib/ansible/plugins/cliconf/slxos.py index ca065ad9edc..0b88fd0dea7 100644 --- a/lib/ansible/plugins/cliconf/slxos.py +++ b/lib/ansible/plugins/cliconf/slxos.py @@ -49,7 +49,7 @@ class Cliconf(CliconfBase): if match: 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() match = re.search(r'switch-attributes host-name (\S+)', data, re.M)