diff --git a/pkg/apiversion/version.go b/pkg/apiversion/version.go index 1e0cbd6..c5c6ff5 100644 --- a/pkg/apiversion/version.go +++ b/pkg/apiversion/version.go @@ -54,7 +54,7 @@ func UseLatest(header string, threshold string) bool { thresholdVersion, _ = Parse(DefaultThreshold) } - return compare(currentVersion, thresholdVersion) > 0 + return compare(currentVersion, thresholdVersion) >= 0 } func compare(left Version, right Version) int {