Skip to content

Commit

Permalink
Remove PipelineRun v1alpha1 support
Browse files Browse the repository at this point in the history
Signed-off-by: vinamra28 <[email protected]>
  • Loading branch information
vinamra28 authored and tekton-robot committed Aug 31, 2022
1 parent 71b4d1a commit 1df61ab
Show file tree
Hide file tree
Showing 26 changed files with 334 additions and 3,407 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/pipelinerun/cancel.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func cancelPipelineRun(p cli.Params, s *cli.Stream, prName string, graceCancelSt
return fmt.Errorf("failed to create tekton client")
}

pr, err := pipelinerun.GetV1beta1(cs, prName, metav1.GetOptions{}, p.Namespace())
pr, err := pipelinerun.Get(cs, prName, metav1.GetOptions{}, p.Namespace())
if err != nil {
return fmt.Errorf("failed to find PipelineRun: %s", prName)
}
Expand Down
Loading

0 comments on commit 1df61ab

Please sign in to comment.