diff --git a/backend/src/apiserver/resource/resource_manager.go b/backend/src/apiserver/resource/resource_manager.go index 2847cf5fd07..231c85dc2b5 100644 --- a/backend/src/apiserver/resource/resource_manager.go +++ b/backend/src/apiserver/resource/resource_manager.go @@ -597,6 +597,9 @@ func (r *ResourceManager) ReconcileSwfCrs(ctx context.Context) error { for { currentScheduledWorkflow, err := r.getScheduledWorkflowClient(jobs[i].Namespace).Get(ctx, jobs[i].K8SName, v1.GetOptions{}) if err != nil { + if util.IsNotFound(err) { + break + } return failedToReconcileSwfCrsError(err) }