bridges: fix missing keyword on deprecate call

This commit is contained in:
Iain Learmonth 2022-05-09 08:11:26 +01:00
parent 10b60b0206
commit aa0ff5802f

View file

@ -29,7 +29,7 @@ class BridgeAutomation(TerraformAutomation):
elif len(active_bridges) > bridgeconf.number:
active_bridge_count = len(active_bridges)
for bridge in active_bridges:
bridge.deprecate("redundant")
bridge.deprecate(reason="redundant")
active_bridge_count -= 1
if active_bridge_count == bridgeconf.number:
break