From 076dacc85cc484654f944545c9da8537935c6cc6 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Tue, 6 Feb 2024 16:47:24 +0000 Subject: [PATCH] :bug: Fix incorrect IP address check in common transformations --- data_safe_haven/infrastructure/common/transformations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_safe_haven/infrastructure/common/transformations.py b/data_safe_haven/infrastructure/common/transformations.py index ca7decc3bf..1da74ca738 100644 --- a/data_safe_haven/infrastructure/common/transformations.py +++ b/data_safe_haven/infrastructure/common/transformations.py @@ -60,7 +60,7 @@ def get_ip_addresses_from_private_endpoint( { ip_address for cfg in cfgs - for ip_address in list(cfg.ip_addresses if cfg.ips else []) + for ip_address in list(cfg.ip_addresses if cfg.ip_addresses else []) } ) if cfgs