Skip to content

Commit 93703fb

Browse files
pmorietekton-robot
authored andcommitted
Fix minor typos in API
1 parent a54ca11 commit 93703fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/apis/pipeline/v1alpha1/pipeline_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
)
2323

24-
// PipelineSpec defines the desired state of PipeLine.
24+
// PipelineSpec defines the desired state of Pipeline.
2525
type PipelineSpec struct {
2626
Resources []PipelineDeclaredResource `json:"resources,omitempty"`
2727
Tasks []PipelineTask `json:"tasks,omitempty"`
@@ -94,7 +94,7 @@ type PipelineTaskParam struct {
9494
Value string `json:"value"`
9595
}
9696

97-
// PipelineParam defines arbitrary parameters needed by a pipeline beyond typed inputs
97+
// PipelineParam defines arbitrary parameters needed by a Pipeline beyond typed inputs
9898
// such as resources.
9999
type PipelineParam struct {
100100
Name string `json:"name"`

pkg/apis/pipeline/v1alpha1/pipelinerun_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type PipelineRunSpec struct {
5454
// +optional
5555
Status PipelineRunSpecStatus `json:"status,omitempty"`
5656
// Time after which the Pipeline times out. Defaults to never.
57-
// Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
57+
// Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration
5858
// +optional
5959
Timeout *metav1.Duration `json:"timeout,omitempty"`
6060
// NodeSelector is a selector which must be true for the pod to fit on a node.

0 commit comments

Comments
 (0)