From 5086a43b80586f112de86636a8a93b0d565cceee Mon Sep 17 00:00:00 2001 From: Vivek Date: Tue, 26 Nov 2024 18:10:33 -0800 Subject: [PATCH] Fix counterpoll show for ENI Counters (#3618) Fix the object name and because of which, counterpoll show for ENI is not working --- counterpoll/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/counterpoll/main.py b/counterpoll/main.py index 530281188f..2bfcd7377c 100644 --- a/counterpoll/main.py +++ b/counterpoll/main.py @@ -483,7 +483,7 @@ def show(): data.append(["FLOW_CNT_ROUTE_STAT", route_info.get("POLL_INTERVAL", DEFLT_10_SEC), route_info.get("FLEX_COUNTER_STATUS", DISABLE)]) - if is_dpu(config_db) and eni_info: + if is_dpu(configdb) and eni_info: data.append(["ENI_STAT", eni_info.get("POLL_INTERVAL", DEFLT_10_SEC), eni_info.get("FLEX_COUNTER_STATUS", DISABLE)])