summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ansible/module_utils/network/nxos/nxos.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/network/nxos/nxos.py b/lib/ansible/module_utils/network/nxos/nxos.py
index 7684328bf9..d87d2b1b94 100644
--- a/lib/ansible/module_utils/network/nxos/nxos.py
+++ b/lib/ansible/module_utils/network/nxos/nxos.py
@@ -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