diff --git a/controllers/apps/operations/reconfigure_util.go b/controllers/apps/operations/reconfigure_util.go index c50cb069619..6647b70714f 100644 --- a/controllers/apps/operations/reconfigure_util.go +++ b/controllers/apps/operations/reconfigure_util.go @@ -290,7 +290,7 @@ func processMergedFailed(resource *OpsResource, isInvalid bool, err error) error // if failed to validate configure, set opsRequest to failed and return failedCondition := appsv1alpha1.NewReconfigureFailedCondition(resource.OpsRequest, err) resource.OpsRequest.SetStatusCondition(*failedCondition) - return nil + return &FastFaileError{message: err.Error()} } func formatConfigPatchToMessage(configPatch *core.ConfigPatchInfo, execStatus *core.PolicyExecStatus) string {