Skip to content

Commit

Permalink
EVEREST-1274: fix version check (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Kralik authored Jul 26, 2024
1 parent d7d2208 commit 02f5f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func CheckK8sRequirements(supVer *SupportedVersion, l *zap.SugaredLogger, kubeCl
return fmt.Errorf("invalid Kubernetes version %s: %w", k8sVersionInfo.GitVersion, err)
}

if !supVer.Kubernetes.Check(k8sVersion) {
if !supVer.Kubernetes.Check(k8sVersion.Core()) {
return fmt.Errorf(
"kubernetes version %q does not meet minimum requirements of %q",
k8sVersion.String(), supVer.Kubernetes.String(),
Expand Down

0 comments on commit 02f5f93

Please sign in to comment.