Skip to content

Commit

Permalink
Ignored not found swf
Browse files Browse the repository at this point in the history
Signed-off-by: Helber Belmiro <[email protected]>
  • Loading branch information
hbelmiro committed Jan 2, 2025
1 parent 504ba62 commit f9c30ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/apiserver/resource/resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit f9c30ca

Please sign in to comment.