Fix minor issue

This commit is contained in:
NipuniBhagya 2025-05-14 22:18:41 +05:30
parent 312a5557f0
commit 3bc9bd1ecb

View file

@ -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.Before(constants.SpecCutoverDate)
return err == nil && !versionDate.After(constants.SpecCutoverDate)
}
// This function parses a version string into a time.Time