From 02d844273ebc1a4b2212fc0d61a856e1317aecf7 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Fri, 8 Sep 2023 08:31:35 +0200 Subject: [PATCH] Update cli/internal/cmd/init.go Co-authored-by: 3u13r --- cli/internal/cmd/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/internal/cmd/init.go b/cli/internal/cmd/init.go index 9a5f5aa6072..17daa3077cf 100644 --- a/cli/internal/cmd/init.go +++ b/cli/internal/cmd/init.go @@ -153,7 +153,7 @@ func (i *initCmd) initialize( return err } // cfg validation does not check k8s patch version since upgrade may accept an outdated patch version. - conf.KubernetesVersion, err = versions.NewValidK8sVersion(string(conf.KubernetesVersion), true) + _, err = versions.NewValidK8sVersion(string(conf.KubernetesVersion), true) if err != nil { return err }