mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
nxos_command:run_commands results failure when commands array size >1 (#52670)
This commit is contained in:
parent
d55ddec923
commit
0df5b92af3
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue