From 4176a5de5a3ce5bf5289fec5a1efbe7f4f4119eb Mon Sep 17 00:00:00 2001 From: Gerrit Date: Tue, 13 Oct 2020 09:37:18 +0200 Subject: [PATCH] Fix for default external network. (#101) --- pkg/controller/controlplane/valuesprovider.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/controller/controlplane/valuesprovider.go b/pkg/controller/controlplane/valuesprovider.go index c1ef420ac..d475bbeb4 100644 --- a/pkg/controller/controlplane/valuesprovider.go +++ b/pkg/controller/controlplane/valuesprovider.go @@ -765,9 +765,9 @@ func getCCMChartValues( break } } - if defaultExternalNetwork == "" { - return nil, fmt.Errorf("unable to find a default external network for metal-ccm deployment") - } + } + if defaultExternalNetwork == "" { + return nil, fmt.Errorf("unable to find a default external network for metal-ccm deployment") } }