From 5f643e5a1dea9b44e00f977f8e0021f49450abdf Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Sun, 5 Mar 2023 14:15:10 +0000 Subject: [PATCH] fix(proxy/fastly): set subgroup_members_max not subgroups_max --- app/terraform/proxy/fastly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/terraform/proxy/fastly.py b/app/terraform/proxy/fastly.py index cba72af..89f83bd 100644 --- a/app/terraform/proxy/fastly.py +++ b/app/terraform/proxy/fastly.py @@ -125,7 +125,7 @@ class ProxyFastlyAutomation(ProxyAutomation): Constructor method. """ # Requires Flask application context to read configuration - self.subgroup_max = min(current_app.config.get("FASTLY_MAX_BACKENDS", 5), 20) + self.subgroup_members_max = min(current_app.config.get("FASTLY_MAX_BACKENDS", 5), 20) super().__init__(*args, **kwargs) def import_state(self, state: Optional[Any]) -> None: