Skip to content

Commit ede3698

Browse files
committed
change to use pointer
1 parent 4dfb025 commit ede3698

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

api/v1/inferencepool_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ type Extension struct {
124124
//
125125
// +optional
126126
//nolint:kubeapilinter
127-
// ignore kubeapilinter here as we want to use pointer here as 0 usually means all ports.
128127
PortNumber *PortNumber `json:"portNumber,omitempty"`
129128

130129
// Configures how the gateway handles the case when the extension is not responsive.

config/crd/bases/inference.networking.k8s.io_inferencepools.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ spec:
9191
The port number on the service running the extension. When unspecified,
9292
implementations SHOULD infer a default value of 9002 when the Kind is
9393
Service.
94-
95-
ignore kubeapilinter here as we want to use pointer here as 0 usually means all ports.
9694
format: int32
9795
maximum: 65535
9896
minimum: 1

0 commit comments

Comments
 (0)