Skip to content

Commit

Permalink
fix: correct field name in error message (#1317)
Browse files Browse the repository at this point in the history
Signed-off-by: Windfarer <[email protected]>
  • Loading branch information
Windfarer authored Aug 20, 2021
1 parent feeaf5d commit 55a992b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensors/triggers/argo-workflow/argo-workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (t *ArgoWorkflowTrigger) Execute(ctx context.Context, events map[string]*v1
return nil, errors.Errorf("failed to execute the workflow %v operation, no name is given", op)
}
if obj.GetGenerateName() == "" {
return nil, errors.New("failed to trigger the workflow, neither name nor generatedName is given")
return nil, errors.New("failed to trigger the workflow, neither name nor generateName is given")
}
}

Expand Down

0 comments on commit 55a992b

Please sign in to comment.