Skip to content

Commit 6ae96a8

Browse files
committed
fix: r
Signed-off-by: ashing <[email protected]>
1 parent f16c17b commit 6ae96a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/indexer/indexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func GatewayParametersRefIndexFunc(rawObj client.Object) []string {
5656
gw := rawObj.(*gatewayv1.Gateway)
5757
var keys []string
5858
if gw.Spec.Infrastructure != nil && gw.Spec.Infrastructure.ParametersRef != nil {
59-
// now we only case kind: GatewayProxy
59+
// now we only care about kind: GatewayProxy
6060
if gw.Spec.Infrastructure.ParametersRef.Kind == "GatewayProxy" {
6161
keys = append(keys, GenIndexKey(gw.GetNamespace(), string(gw.Spec.Infrastructure.ParametersRef.Name)))
6262
}

0 commit comments

Comments
 (0)