We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4964f4 commit 2d15922Copy full SHA for 2d15922
internal/extensionserver/post_translate_modify.go
@@ -625,10 +625,6 @@ func (s *Server) isRouteGeneratedByAIGateway(route *routev3.Route) bool {
625
if s.isStandAloneMode {
626
// In stand-alone mode, we don't have annotations to check, so instead use the name prefix.
627
for _, resource := range resources.GetListValue().Values {
628
- kind, ok := resource.GetStructValue().Fields["kind"]
629
- if !ok || kind.GetStringValue() != "HTTPRoute" {
630
- continue
631
- }
632
// Skips all the MCP-related resources.
633
if name, ok := resource.GetStructValue().Fields["name"]; ok {
634
if strings.HasPrefix(name.GetStringValue(), internalapi.MCPGeneratedResourceCommonPrefix) {
0 commit comments