From ca280706f691cb6679e003cc128e189ae38e9228 Mon Sep 17 00:00:00 2001 From: Remy Rojas Date: Wed, 24 Jan 2024 16:11:24 -0400 Subject: [PATCH] fixup! Parse custom zone mapping information --- driver/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/driver.go b/driver/driver.go index aae2a9af..c7130738 100644 --- a/driver/driver.go +++ b/driver/driver.go @@ -223,7 +223,7 @@ func getExoscaleNodeMetadata() (*nodeMetadata, error) { return nil, fmt.Errorf("node meta data Instance ID %s: %w", node.Spec.ProviderID, err) } - zonesToURL := map[string]v3.URL{} + var zonesToURL map[string]v3.URL customZonesStr := os.Getenv("ZONE_TO_URL") if customZonesStr != "" {