diff --git a/controller/appcontroller.go b/controller/appcontroller.go index a9ae59265a..84225bd8e8 100644 --- a/controller/appcontroller.go +++ b/controller/appcontroller.go @@ -2345,7 +2345,7 @@ func (ctrl *ApplicationController) autoSync(app *appv1.Application, syncStatus * ctrl.writeBackToInformer(updatedApp) ts.AddCheckpoint("write_back_to_informer_ms") - message := fmt.Sprintf("Initiated automated sync to %s", desiredRevisions) + message := fmt.Sprintf("Initiated automated sync to '%s'", strings.Join(desiredRevisions, ", ")) ctrl.logAppEvent(context.TODO(), app, argo.EventInfo{Reason: argo.EventReasonOperationStarted, Type: corev1.EventTypeNormal}, message) logCtx.Info(message) return nil, setOpTime