scaleway_lb: simplify function logic (#9189)

* scaleway_lb: simplify function logic

* add changelog frag
This commit is contained in:
Alexei Znamensky
2024-11-26 09:27:42 +13:00
committed by GitHub
parent fa7c2df4b8
commit b49830861c
2 changed files with 4 additions and 2 deletions

View File

@@ -228,8 +228,8 @@ def lb_attributes_should_be_changed(target_lb, wished_lb):
if diff:
return {attr: wished_lb[attr] for attr in MUTABLE_ATTRIBUTES}
else:
return diff
return {}
def present_strategy(api, wished_lb):