Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(backend): remove mentions of Argo Workflows from the pipelinerun #11368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading