mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
compatibility: error message wording
The new description represents the error condition more accurately.
This commit is contained in:
parent
03de71fdd2
commit
69a384d978
@ -45,7 +45,7 @@ func IsValidUpgrade(a, b string) error {
|
||||
}
|
||||
|
||||
if semver.Compare(a, b) >= 0 {
|
||||
return errors.New("current version newer than new version")
|
||||
return errors.New("current version newer than or equal to new version")
|
||||
}
|
||||
|
||||
aMajor, aMinor, err := parseCanonicalSemver(a)
|
||||
|
Loading…
Reference in New Issue
Block a user