From da3e0b8241bfd36b57edb6bf3c5ac5066d4fc8b2 Mon Sep 17 00:00:00 2001 From: Justin Jeffery Date: Thu, 21 Apr 2022 11:05:53 -0400 Subject: [PATCH] fix: Updates to fix configs in IPF v4.4.1 --- ipfabric/tools/configuration.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ipfabric/tools/configuration.py b/ipfabric/tools/configuration.py index e816de7..6b5325b 100644 --- a/ipfabric/tools/configuration.py +++ b/ipfabric/tools/configuration.py @@ -41,15 +41,16 @@ def get_all_configurations(self, device: Optional[str] = None, sn: Optional[str] "tables/management/configuration", sort={"order": "desc", "column": "lastChange"}, columns=[ - "_id", + "id", "sn", "hostname", - "lastChange", - "lastCheck", + "lastChangeAt", + "lastCheckAt", "status", "hash", ], filters=filters, + snapshot=False ) if len(res) == 0: logger.warning(f"Could not find any configurations for device '{device}'.")