mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-08-17 20:03:08 +00:00
Fix minor issue
This commit is contained in:
parent
ba19c7363a
commit
c5cfecf243
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
// This function checks if the given version date is after the spec cutover date
|
// This function checks if the given version date is after the spec cutover date
|
||||||
func IsLatestSpec(versionDate time.Time, err error) bool {
|
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
|
// This function parses a version string into a time.Time
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue