Skip to content

Commit f37cfa8

Browse files
committed
more
Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent 93d0d01 commit f37cfa8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/extensionserver/post_translate_modify.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,6 @@ func (s *Server) isRouteGeneratedByAIGateway(route *routev3.Route) bool {
625625
if s.isStandAloneMode {
626626
// In stand-alone mode, we don't have annotations to check, so instead use the name prefix.
627627
for _, resource := range resources.GetListValue().Values {
628-
kind, ok := resource.GetStructValue().Fields["kind"]
629-
if !ok || kind.GetStringValue() != "HTTPRoute" {
630-
continue
631-
}
632628
// Skips all the MCP-related resources.
633629
if name, ok := resource.GetStructValue().Fields["name"]; ok {
634630
if strings.HasPrefix(name.GetStringValue(), internalapi.MCPGeneratedResourceCommonPrefix) {

0 commit comments

Comments
 (0)