From 51f564e7744c1528ef73d723301fbbc248e15077 Mon Sep 17 00:00:00 2001 From: mgolski Date: Thu, 24 Oct 2024 14:24:56 +0200 Subject: [PATCH] PLUTON-19231 | Correctly make self.domain_mappings a list --- vaas/vaas/vcl/renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vaas/vaas/vcl/renderer.py b/vaas/vaas/vcl/renderer.py index 76850923..e732f9f6 100644 --- a/vaas/vaas/vcl/renderer.py +++ b/vaas/vaas/vcl/renderer.py @@ -405,7 +405,7 @@ def fetch_render_data(self): ) self.distributed_backends = self.distribute_backends(backends) self.distributed_canary_backends = self.prepare_canary_backends(canary_backend_ids, backends) - self.domain_mappings = DomainMapping.objects.all() + self.domain_mappings = list(DomainMapping.objects.all()) self.mapping_provider = MappingProvider(self.domain_mappings) @collect_processing