Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Satyam Bhardwaj <[email protected]>
  • Loading branch information
Satyam Bhardwaj committed Sep 16, 2023
1 parent 0934337 commit 44736c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pipelineascode/pipelineascode.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ func (p *PacRun) startPR(ctx context.Context, match matcher.Match) (*tektonv1.Pi
match.PipelineRun, metav1.CreateOptions{})
if err != nil {
// we need to make difference between markdown error and normal error that goes to namespace/controller stream
return nil, fmt.Errorf("creating pipelinerun %s in namespace %s has failed.\n\nTekton Controller has reported this error: ```%s``` ", match.PipelineRun.GetGenerateName(),
match.Repo.GetNamespace(), err.Error())
return nil, fmt.Errorf("creating pipelinerun %s in namespace %s has failed.\n\nTekton Controller has reported this error: ```%w``` ", match.PipelineRun.GetGenerateName(),
match.Repo.GetNamespace(), err)
}

// Create status with the log url
Expand Down

0 comments on commit 44736c8

Please sign in to comment.