From f8f17b2caaf9361775cf5ae33c1dfcef2a47f6f8 Mon Sep 17 00:00:00 2001 From: shay1760 Date: Mon, 26 Feb 2024 22:24:52 +0530 Subject: [PATCH] external: update logging when comparing ceph version when comparing local ceph version with external cluster there is wrong log printing. Updating to print the right log message. Signed-off-by: shay1760 --- pkg/operator/ceph/version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/version/version.go b/pkg/operator/ceph/version/version.go index c27c20e20..92d764d6e 100644 --- a/pkg/operator/ceph/version/version.go +++ b/pkg/operator/ceph/version/version.go @@ -310,7 +310,7 @@ func ValidateCephVersionsBetweenLocalAndExternalClusters(localVersion, externalV // Local version must never be higher than the external one if IsSuperior(localVersion, externalVersion) { - return errors.Errorf("local cluster ceph version is higher %q than the external cluster %q, this must never happen", externalVersion.String(), localVersion.String()) + return errors.Errorf("local cluster ceph version %q is higher than the external cluster version %q, this must never happen", localVersion.String(), externalVersion.String()) } // External cluster was updated to a minor version higher, consider updating too!