From 9f0ca6ceaa5f2b5e83158e65eb6c411a6a97c592 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Wed, 3 Jul 2024 19:17:49 +0000 Subject: [PATCH] hotfix(ionos): settings validation --- internal/provider/providers/ionos/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/providers/ionos/provider.go b/internal/provider/providers/ionos/provider.go index ec1c9767d..49ff02074 100644 --- a/internal/provider/providers/ionos/provider.go +++ b/internal/provider/providers/ionos/provider.go @@ -32,7 +32,7 @@ func New(data json.RawMessage, domain, owner string, return nil, fmt.Errorf("decoding ionos extra settings: %w", err) } - err = validateSettings(domain, p.apiKey) + err = validateSettings(domain, extraSettings.APIKey) if err != nil { return nil, fmt.Errorf("validating provider specific settings: %w", err) }