From 20fa70a75c3803f0649096fa51d74992533d2aa0 Mon Sep 17 00:00:00 2001 From: Rob Scott Date: Wed, 5 Mar 2025 23:02:25 +0000 Subject: [PATCH] Renaming conditions and reasons used in InferencePool status --- api/v1alpha2/inferencepool_types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v1alpha2/inferencepool_types.go b/api/v1alpha2/inferencepool_types.go index e4350417..b411dbe3 100644 --- a/api/v1alpha2/inferencepool_types.go +++ b/api/v1alpha2/inferencepool_types.go @@ -233,16 +233,16 @@ const ( // // Controllers MAY raise this condition with other reasons, but should // prefer to use the reasons listed above to improve interoperability. - ModelConditionResolvedRefs InferencePoolConditionType = "ResolvedRefs" + InferencePoolConditionResolvedRefs InferencePoolConditionType = "ResolvedRefs" // This reason is used with the "ResolvedRefs" condition when the condition // is true. - ModelReasonResolvedRefs InferencePoolReason = "ResolvedRefs" + InferencePoolReasonResolvedRefs InferencePoolReason = "ResolvedRefs" // This reason is used with the "ResolvedRefs" condition when the // ExtensionRef is invalid in some way. This can include an unsupported kind // or API group, or a reference to a resource that can not be found. - ModelReasonInvalidExtensionRef InferencePoolReason = "InvalidExtensionRef" + InferencePoolReasonInvalidExtensionRef InferencePoolReason = "InvalidExtensionRef" ) func init() {