Skip to content

Commit

Permalink
style: Correct the confused logic (#2577)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pli authored Apr 3, 2020
1 parent 3d14614 commit 5c08292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/executor/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,10 @@ func (we *WorkflowExecutor) WaitResource(resourceNamespace string, resourceName
} else {
log.Warnf("Waiting for resource %s resulted in error %v", resourceName, err)
}
return err
}

return err
return nil
}

func checkIfResourceDeleted(resourceName string, resourceNamespace string) bool {
Expand Down

0 comments on commit 5c08292

Please sign in to comment.