Skip to content

Commit

Permalink
plugins/aws: Requiretransform may be deprecated but still is in use
Browse files Browse the repository at this point in the history
  • Loading branch information
nfuden committed Feb 11, 2025
1 parent 1bdc660 commit 12a8076
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions projects/gloo/pkg/plugins/aws/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *env
return nil, nil
}

p.requiresTransformationFilter = true

var reqTransform *envoy_transform.Transformation
if requiresRequestTransformation {
reqTransform = &envoy_transform.Transformation{
Expand All @@ -283,8 +281,7 @@ func (p *Plugin) ProcessRoute(params plugins.RouteParams, in *v1.Route, out *env
},
},
}
} else {
p.requiresTransformationFilter = false
p.requiresTransformationFilter = true
}

var transforms envoy_transform.RouteTransformations
Expand Down

0 comments on commit 12a8076

Please sign in to comment.