Skip to content

Commit

Permalink
🐛 Fix incorrect IP address check in common transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Feb 6, 2024
1 parent 371a49d commit 076dacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_safe_haven/infrastructure/common/transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 076dacc

Please sign in to comment.