diff --git a/pkg/goversion/go_version.go b/pkg/goversion/go_version.go index 08b94afb2b..26d311408e 100644 --- a/pkg/goversion/go_version.go +++ b/pkg/goversion/go_version.go @@ -209,7 +209,7 @@ func Installed() (GoVersion, bool) { // or go version) is major.minor or a later version, or a development // version. func VersionAfterOrEqual(version string, major, minor int) bool { - return VersionAfterOrEqualRev(version, major, minor, -1) + return VersionAfterOrEqualRev(version, major, minor, betaEnd) } // VersionAfterOrEqualRev checks that version (as returned by runtime.Version()