Skip to content

Commit da4a889

Browse files
Update api/v1/inferencepool_types.go
Co-authored-by: Rob Scott <rob.scott87@gmail.com>
1 parent f45de61 commit da4a889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1/inferencepool_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type Port struct {
9696

9797
// EndpointPickerRef specifies a reference to an Endpoint Picker extension and its
9898
// associated configuration.
99-
// +kubebuilder:validation:XValidation:rule="self.kind != 'Service' || has(self.port)",message="port is required when kind is 'Service' and unset(default to 'Service')"
99+
// +kubebuilder:validation:XValidation:rule="self.kind != 'Service' || has(self.port)",message="port is required when kind is 'Service' or unspecified (defaults to 'Service')"
100100
type EndpointPickerRef struct {
101101
// Group is the group of the referent API object. When unspecified, the default value
102102
// is "", representing the Core API group.

0 commit comments

Comments
 (0)