Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhbh committed Jan 13, 2025
1 parent 2fb06b7 commit 597b0e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/gateway/pkg/translator/converter.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package translator

import (
"context"
"fmt"
"github.com/solo-io/go-utils/contextutils"
"strings"

"github.com/solo-io/gloo/projects/gloo/pkg/api/v1/options/transformation"
Expand Down Expand Up @@ -524,7 +526,9 @@ func validateAndMergeParentRoute(child *gatewayv1.Route, parent *routeInfo) (*ga

// Merge options from parent routes
// If an option is defined on a parent route, it will override the child route's option
contextutils.LoggerFrom(context.Background()).Infof("child staged early transformations pre merge: %v", child.GetOptions().GetStagedTransformations().GetEarly())
child.Options, _ = utils.ShallowMergeRouteOptions(child.GetOptions(), parent.options)
contextutils.LoggerFrom(context.Background()).Infof("child staged early transformations post merge: %v", child.GetOptions().GetStagedTransformations().GetEarly())

return child, nil
}
Expand Down

0 comments on commit 597b0e6

Please sign in to comment.