Skip to content

Commit

Permalink
chore(backend): remove mentions of Argo Workflows from the pipelinerun (
Browse files Browse the repository at this point in the history
kubeflow#11368)

Signed-off-by: arpechenin <[email protected]>
  • Loading branch information
ntny authored Nov 15, 2024
1 parent 8faa24d commit 634aadf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/common/util/pipelinerun.go
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ type PipelineRunInterface struct {
func (pri *PipelineRunInterface) Create(ctx context.Context, execution ExecutionSpec, opts metav1.CreateOptions) (ExecutionSpec, error) {
pipelinerun, ok := execution.(*PipelineRun)
if !ok {
return nil, fmt.Errorf("execution is not a valid ExecutionSpec for Argo Workflow")
return nil, fmt.Errorf("execution is not a valid ExecutionSpec for Tekton")
}

revPipelineRun, err := pri.pipelinerunInterface.Create(ctx, pipelinerun.PipelineRun, opts)
Expand All @@ -809,7 +809,7 @@ func (pri *PipelineRunInterface) Create(ctx context.Context, execution Execution
func (pri *PipelineRunInterface) Update(ctx context.Context, execution ExecutionSpec, opts metav1.UpdateOptions) (ExecutionSpec, error) {
pipelinerun, ok := execution.(*PipelineRun)
if !ok {
return nil, fmt.Errorf("execution is not a valid ExecutionSpec for Argo Workflow")
return nil, fmt.Errorf("execution is not a valid ExecutionSpec for Tekton")
}

revPipelineRun, err := pri.pipelinerunInterface.Update(ctx, pipelinerun.PipelineRun, opts)
Expand Down

0 comments on commit 634aadf

Please sign in to comment.