compatibility: error message wording

The new description represents the error condition more accurately.
This commit is contained in:
Otto Bittner 2023-02-14 16:02:03 +01:00
parent 03de71fdd2
commit 69a384d978

View File

@ -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)