From 6802d4b831348882874e9c2c70a1fffc245a0f23 Mon Sep 17 00:00:00 2001 From: soksanichenko Date: Mon, 4 Jul 2022 13:15:39 +0300 Subject: [PATCH] Issues #562,#561,#560: - No source of entropy in _get_nearest_mirrors_by_network_data() - _get_nearest_mirrors_by_network_data() fails to exclude near-by private mirrors for extra options. - Exclude the private mirrors from the mirrors list in the case of fallback behavior - The Azure mirrors have allowed list of arches - Decrease level of logging messages in some cases - Cache subnets of Azure/AWS cloud --- src/backend/api/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/api/utils.py b/src/backend/api/utils.py index 36220812..b4ee6c77 100644 --- a/src/backend/api/utils.py +++ b/src/backend/api/utils.py @@ -255,7 +255,7 @@ async def get_azure_subnets(http_session: ClientSession): properties = value['properties'] subnets[properties['region'].lower()] = \ properties['addressPrefixes'] - await set_subnets_to_cache('aws_subnets', subnets) + await set_subnets_to_cache('azure_subnets', subnets) return subnets