Skip to content

Commit 7f6b8d6

Browse files
kabicinKirby Chin
authored andcommitted
Update types.go
1 parent 2405dcb commit 7f6b8d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ type BaseComponentStatefulSet interface {
176176
GetAnnotations() map[string]string
177177
}
178178

179-
// This struct is taken from the Probe implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
179+
// This struct is taken from the Probe specification in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
180180
// +kubebuilder:object:generate=true
181181
type BaseComponentProbe struct {
182182
// The action taken to determine the health of a container
@@ -216,7 +216,7 @@ type BaseComponentProbe struct {
216216
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
217217
}
218218

219-
// This struct is taken from the ProbeHandler implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
219+
// This struct is taken from the ProbeHandler specification in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
220220
// +kubebuilder:object:generate=true
221221
type BaseComponentProbeHandler struct {
222222
// Exec specifies the action to take.
@@ -236,7 +236,7 @@ type BaseComponentProbeHandler struct {
236236
GRPC *corev1.GRPCAction `json:"grpc,omitempty"`
237237
}
238238

239-
// This struct is based upon the HTTPGetAction implementation in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
239+
// This struct is based upon the HTTPGetAction specification in https://github.com/kubernetes/api/blob/v0.24.2/core/v1/types.go
240240
// +kubebuilder:object:generate=true
241241
type OptionalHTTPGetAction struct {
242242
// Path to access on the HTTP server.

0 commit comments

Comments
 (0)