Skip to content

Commit 5e83a1c

Browse files
committed
Fixing small linter complaints
1 parent 89eacc7 commit 5e83a1c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

api/v1alpha1/inferencemodel_types.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ type InferenceModelConditionType string
202202
type InferenceModelConditionReason string
203203

204204
const (
205-
// This condition indicates if the model config is accepted, and if not, why.
205+
// ModelConditionAccepted indicates if the model config is accepted, and if not, why.
206206
//
207207
// Possible reasons for this condition to be True are:
208208
//
@@ -218,14 +218,14 @@ const (
218218
//
219219
ModelConditionAccepted InferenceModelConditionType = "Accepted"
220220

221-
// Desired state. Model conforms to the state of the pool.
221+
// ModelReasonAccepted is the desired state. Model conforms to the state of the pool.
222222
ModelReasonAccepted InferenceModelConditionReason = "Accepted"
223223

224-
// This reason is used when a given ModelName already exists within the pool.
224+
// ModelReasonNameInUse is used when a given ModelName already exists within the pool.
225225
// Details about naming conflict resolution are on the ModelName field itself.
226226
ModelReasonNameInUse InferenceModelConditionReason = "ModelNameInUse"
227227

228-
// This reason is the initial state, and indicates that the controller has not yet reconciled the InferenceModel.
228+
// ModelReasonPending is the initial state, and indicates that the controller has not yet reconciled the InferenceModel.
229229
ModelReasonPending InferenceModelConditionReason = "Pending"
230230
)
231231

api/v1alpha1/inferencepool_types.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ type InferencePoolConditionType string
207207
type InferencePoolConditionReason string
208208

209209
const (
210-
// This condition indicates if the pool is ready to accept traffic, and if not, why.
210+
// PoolConditionReady indicates if the pool is ready to accept traffic, and if not, why.
211211
//
212212
// Possible reasons for this condition to be True are:
213213
//
@@ -223,13 +223,13 @@ const (
223223
//
224224
PoolConditionReady InferencePoolConditionType = "Ready"
225225

226-
// Desired state. The pool and its components are initialized and ready for traffic.
226+
// PoolReasonReady is the desired state. The pool and its components are initialized and ready for traffic.
227227
PoolReasonReady InferencePoolConditionReason = "Ready"
228228

229-
// This reason is used when the EPP has not yet passed health checks, or has started failing them.
229+
// PoolReasonEPPNotHealthy is used when the EPP has not yet passed health checks, or has started failing them.
230230
PoolReasonEPPNotHealthy InferencePoolConditionReason = "EndpointPickerNotHealthy"
231231

232-
// This reason is the initial state, and indicates that the controller has not yet reconciled this pool.
232+
// PoolReasonPending is the initial state, and indicates that the controller has not yet reconciled this pool.
233233
PoolReasonPending InferencePoolConditionReason = "Pending"
234234
)
235235

0 commit comments

Comments
 (0)