From 69a384d978892e1f51cbc65f3d8a8891ef85d5c1 Mon Sep 17 00:00:00 2001 From: Otto Bittner Date: Tue, 14 Feb 2023 16:02:03 +0100 Subject: [PATCH] compatibility: error message wording The new description represents the error condition more accurately. --- internal/compatibility/compatibility.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/compatibility/compatibility.go b/internal/compatibility/compatibility.go index d97bf7d23..74c04bd9c 100644 --- a/internal/compatibility/compatibility.go +++ b/internal/compatibility/compatibility.go @@ -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)