Skip to content

Commit 9f7305d

Browse files
dspoCopilot
andauthored
Update internal/controller/indexer/indexer.go
Co-authored-by: Copilot <[email protected]>
1 parent 7a05bdf commit 9f7305d

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
@@ -268,7 +268,7 @@ func IngressSecretIndexFunc(rawObj client.Object) []string {
268268
}
269269

270270
func IngressHTTPRouteIndexFunc(rawObj client.Object) []string {
271-
return []string{GenHTTPRoutePolicyIndexKey(networkingv1.GroupName, "Ingress", rawObj.GetGenerateName(), rawObj.GetName(), "")}
271+
return []string{GenHTTPRoutePolicyIndexKey(networkingv1.GroupName, "Ingress", rawObj.GetNamespace(), rawObj.GetName(), "")}
272272
}
273273

274274
func GenIndexKeyWithGK(group, kind, namespace, name string) string {

0 commit comments

Comments
 (0)