diff --git a/internal/util/version.go b/internal/util/version.go index 04ed2ce..f330016 100644 --- a/internal/util/version.go +++ b/internal/util/version.go @@ -8,7 +8,7 @@ import ( // This function checks if the given version date is after the spec cutover date func IsLatestSpec(versionDate time.Time, err error) bool { - return err == nil && !versionDate.After(constants.SpecCutoverDate) + return err == nil && versionDate.After(constants.SpecCutoverDate) } // This function parses a version string into a time.Time