Skip to content

Commit

Permalink
Fix counterpoll show for ENI Counters
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekrnv authored Nov 9, 2024
1 parent 7d013df commit 26e2929
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 26e2929

Please sign in to comment.