Skip to content

Commit 5bc76ab

Browse files
mlavaccak8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
docs: attachedRoutes comment updated
The go comment for the Gateway's AttachedRoutes field has been updated by adding the condition that the Routes need to be accepted to be considered successfully attached to a listener. Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com>
1 parent 6696019 commit 5bc76ab

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

apis/v1beta1/gateway_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ type ListenerStatus struct {
674674
// +kubebuilder:validation:MaxItems=8
675675
SupportedKinds []RouteGroupKind `json:"supportedKinds"`
676676

677-
// AttachedRoutes represents the total number of Routes that have been
677+
// AttachedRoutes represents the total number of accepted Routes that have been
678678
// successfully attached to this Listener.
679679
AttachedRoutes int32 `json:"attachedRoutes"`
680680

config/crd/experimental/gateway.networking.k8s.io_gateways.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/standard/gateway.networking.k8s.io_gateways.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)