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] == '{':
|
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
|
||||||
|
|
Loading…
Reference in a new issue