nxos_command:run_commands results failure when commands array size >1 (#52670)

This commit is contained in:
Chris Van Heuveln 2019-02-26 01:31:13 -05:00 committed by Trishna Guha
parent d55ddec923
commit 0df5b92af3

View file

@ -547,7 +547,11 @@ class HttpApi:
if response[0] == '{': if response[0] == '{':
out[index] = json.loads(response) out[index] = json.loads(response)
return out if return_timestamps:
# workaround until timestamps are implemented
return out, list()
else:
return out
def get_config(self, flags=None): def get_config(self, flags=None):
"""Retrieves the current config from the device or cache """Retrieves the current config from the device or cache