From 7138dd6040d1958fb4463c0be9db734dbbb920fe Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 25 Jul 2023 16:11:49 +0200 Subject: [PATCH] network: edge zone normalization can be done using the value directly, rather than via a pointer --- internal/services/network/edge_zone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/network/edge_zone.go b/internal/services/network/edge_zone.go index b90097df6b03..d765ec3292a9 100644 --- a/internal/services/network/edge_zone.go +++ b/internal/services/network/edge_zone.go @@ -43,5 +43,5 @@ func flattenEdgeZoneModel(input *edgezones.Model) string { if input == nil || input.Name == "" { return "" } - return edgezones.NormalizeNilable(&input.Name) + return edgezones.Normalize(input.Name) }