From 0d63f57848d0aa863941037799dbb3c80de8f63f Mon Sep 17 00:00:00 2001 From: Rohan <315scisyb2020rohanmishra@gmail.com> Date: Tue, 24 Dec 2024 10:01:00 +0530 Subject: [PATCH] incorrectly worded error message form argocd-update is changed Signed-off-by: Rohan <315scisyb2020rohanmishra@gmail.com> --- internal/directives/argocd_updater.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/directives/argocd_updater.go b/internal/directives/argocd_updater.go index 28f078d78..5318cc787 100644 --- a/internal/directives/argocd_updater.go +++ b/internal/directives/argocd_updater.go @@ -388,8 +388,8 @@ func (a *argocdUpdater) mustPerformUpdate( // NB: We return the current phase here because we want the caller // to know that an operation is still running. return status.Phase, false, fmt.Errorf( - "current operation was not initiated by %q and not by %q: waiting for operation to complete", - applicationOperationInitiator, status.Operation.InitiatedBy.Username, + "current operation was initiated by %q and not by %q: waiting for operation to complete", + status.Operation.InitiatedBy.Username, applicationOperationInitiator, ) } // Initiate our own operation.