@@ -836,7 +836,7 @@ func (t *Translator) translateAPIConfig(cfg *models.StoredConfig, allConfigs []*
836836 }
837837 // Reuse the referenced upstreamDefinition's cluster (built unconditionally
838838 // below) instead of minting a per-op cluster. routeURLPath carries the
839- // definition's base path (#2065) so the route's static rewrite prepends it
839+ // definition's base path so the route's static rewrite prepends it
840840 // exactly once. Keep cluster_header ON with that cluster as the default so a
841841 // dynamic-endpoint policy can still steer this operation. Precedence:
842842 // op-policy > api-policy > per-op ref > api-level upstream.
@@ -917,7 +917,7 @@ func (t *Translator) translateAPIConfig(cfg *models.StoredConfig, allConfigs []*
917917 return nil , nil , fmt .Errorf ("per-op sandbox upstream for %s %s: %w" , string (op .Method ), op .Path , err )
918918 }
919919 // Reuse the referenced upstreamDefinition's cluster; routeURLPath carries
920- // its base path (#2065) . Keep cluster_header ON so a sandbox dynamic-endpoint
920+ // its base path. Keep cluster_header ON so a sandbox dynamic-endpoint
921921 // policy can override the per-op default — consistent with the API-level
922922 // sandbox routing fixed in #2059 (no static-pin bypass).
923923 sbRouteCluster = defClusterName
@@ -1063,7 +1063,7 @@ func (t *Translator) resolveUpstreamCluster(apiID, upstreamName string, up *api.
10631063// (upstream_<kind>_<apiID>_<defName>) and base path. The definition's cluster is
10641064// created unconditionally for every definition, so a per-op route reuses it rather
10651065// than minting its own — one cluster per definition serves both vhosts (no env in
1066- // the key). The base path comes from the definition's basePath field (#2065) ; the
1066+ // the key). The base path comes from the definition's basePath field; the
10671067// caller passes it as the route's upstream path so the static rewrite prepends it.
10681068func (t * Translator ) resolvePerOpDefinitionCluster (kind , apiID string , target * api.RestAPIOperationUpstreamTarget , upstreamDefinitions * []api.UpstreamDefinition ) (string , string , * resolvedTimeout , error ) {
10691069 refName := strings .TrimSpace (target .Ref )
0 commit comments