Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeJu committed Oct 7, 2022
1 parent 0ca4c7a commit 2b3ff61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/pipeline/v1/pipelinerun_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ func (pr *PipelineRun) ConvertTo(ctx context.Context, sink apis.Convertible) err
if apis.IsInDelete(ctx) {
return nil
}
return fmt.Errorf("v1beta1 is the highest known version, got: %T", sink)
return fmt.Errorf("v1 is the highest known version, got: %T", sink)
}

// ConvertFrom implements apis.Convertible
func (pr *PipelineRun) ConvertFrom(ctx context.Context, source apis.Convertible) error {
if apis.IsInDelete(ctx) {
return nil
}
return fmt.Errorf("v1beta1 is the highest known version, got: %T", source)
return fmt.Errorf("v1 is the highest known version, got: %T", source)
}

0 comments on commit 2b3ff61

Please sign in to comment.