Skip to content

Commit 1e30a29

Browse files
authored
Merge pull request freddy36#20 from PhilippKilian/fix-incorrect-bounds-update
agent_based: fix bounds variable update closes freddy36#19
2 parents 658fef6 + 8756925 commit 1e30a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bird/agent_based/bird.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def check_bird_protocols(item, params, section) -> CheckResult:
404404
for key, value in protocol.get('route_stats', {}).items():
405405
bounds = limit_bounds.get(key, {})
406406
if key in route_stats_levels:
407-
bounds.update(route_stats_levels[key])
407+
bounds.update({key: ("fixed", route_stats_levels[key])})
408408
yield from check_levels(
409409
value,
410410
levels_upper=bounds.get('upper'),

0 commit comments

Comments
 (0)