Skip to content

Commit

Permalink
Fix counterpoll show for ENI Counters (#3618)
Browse files Browse the repository at this point in the history
Fix the object name and because of which, counterpoll show for ENI is not working
  • Loading branch information
vivekrnv authored Nov 27, 2024
1 parent 70f8139 commit 5086a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion counterpoll/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)])

Expand Down

0 comments on commit 5086a43

Please sign in to comment.