Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <[email protected]>
  • Loading branch information
zhaohuabing committed Mar 19, 2024
1 parent 470722c commit 53acda0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/xds/translator/httpfilters.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func registerHTTPFilter(filter httpFilter) {
// always se their own native per-route configuration.
type httpFilter interface {
// patchHCM patches the HttpConnectionManager with the filter.
// Note: this method may be called multiple times for the same filter, please
// make sure to avoid duplicate additions of the same filter.
patchHCM(mgr *hcmv3.HttpConnectionManager, irListener *ir.HTTPListener) error

// patchRoute patches the provide Route with a filter's Route level configuration.
Expand Down

0 comments on commit 53acda0

Please sign in to comment.