1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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] == '{':
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):
"""Retrieves the current config from the device or cache