Skip to content

Commit 5086a43

Browse files
authored
Fix counterpoll show for ENI Counters (#3618)
Fix the object name and because of which, counterpoll show for ENI is not working
1 parent 70f8139 commit 5086a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

counterpoll/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ def show():
483483
data.append(["FLOW_CNT_ROUTE_STAT", route_info.get("POLL_INTERVAL", DEFLT_10_SEC),
484484
route_info.get("FLEX_COUNTER_STATUS", DISABLE)])
485485

486-
if is_dpu(config_db) and eni_info:
486+
if is_dpu(configdb) and eni_info:
487487
data.append(["ENI_STAT", eni_info.get("POLL_INTERVAL", DEFLT_10_SEC),
488488
eni_info.get("FLEX_COUNTER_STATUS", DISABLE)])
489489

0 commit comments

Comments
 (0)