Skip to content

Commit

Permalink
remove debug println (#10252)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Jenster <[email protected]>
  • Loading branch information
r10r committed Jan 5, 2023
1 parent 2607867 commit 4e25739
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions workflow/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ func ApplySubmitOpts(wf *wfv1.Workflow, opts *wfv1.SubmitOpts) error {
wfAnnotations = make(map[string]string)
}
if opts.Annotations != "" {
fmt.Println(opts.Annotations)
passedAnnotations, err := cmdutil.ParseLabels(opts.Annotations)
if err != nil {
return fmt.Errorf("expected Annotations of the form: NAME1=VALUE2,NAME2=VALUE2. Received: %s: %w", opts.Labels, err)
Expand Down Expand Up @@ -803,7 +802,6 @@ func resetConnectedParentGroupNodes(oldWF *wfv1.Workflow, newWF *wfv1.Workflow,

// FormulateRetryWorkflow formulates a previous workflow to be retried, deleting all failed steps as well as the onExit node (and children)
func FormulateRetryWorkflow(ctx context.Context, wf *wfv1.Workflow, restartSuccessful bool, nodeFieldSelector string, parameters []string) (*wfv1.Workflow, []string, error) {

switch wf.Status.Phase {
case wfv1.WorkflowFailed, wfv1.WorkflowError:
default:
Expand Down

0 comments on commit 4e25739

Please sign in to comment.