From 634aadf808cd3dc908e60ac5156a3cb4cdfc237d Mon Sep 17 00:00:00 2001 From: Anton Pechenin Date: Fri, 15 Nov 2024 20:47:20 +0300 Subject: [PATCH] chore(backend): remove mentions of Argo Workflows from the pipelinerun (#11368) Signed-off-by: arpechenin --- backend/src/common/util/pipelinerun.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/common/util/pipelinerun.go b/backend/src/common/util/pipelinerun.go index 709837edc96..fedce4cfe11 100644 --- a/backend/src/common/util/pipelinerun.go +++ b/backend/src/common/util/pipelinerun.go @@ -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) @@ -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)