Update filter comment for proxy (#1416)
This commit is contained in:
parent
beaa434610
commit
776a7d6cd6
@ -164,7 +164,7 @@ func (p *Proxy) filterRoutes(ctx context.Context, routes []router.Route) []route
|
|||||||
}
|
}
|
||||||
|
|
||||||
if logger.V(logger.TraceLevel, logger.DefaultLogger) {
|
if logger.V(logger.TraceLevel, logger.DefaultLogger) {
|
||||||
logger.Tracef("Proxy filtered routes %+v\n", filteredRoutes)
|
logger.Tracef("Proxy filtered routes %+v", filteredRoutes)
|
||||||
}
|
}
|
||||||
|
|
||||||
return filteredRoutes
|
return filteredRoutes
|
||||||
@ -357,7 +357,7 @@ func (p *Proxy) ServeRequest(ctx context.Context, req server.Request, rsp server
|
|||||||
}
|
}
|
||||||
|
|
||||||
if logger.V(logger.TraceLevel, logger.DefaultLogger) {
|
if logger.V(logger.TraceLevel, logger.DefaultLogger) {
|
||||||
logger.Tracef("Proxy received request for %s", service)
|
logger.Tracef("Proxy received request for %s %s", service, endpoint)
|
||||||
}
|
}
|
||||||
|
|
||||||
// are we network routing or local routing
|
// are we network routing or local routing
|
||||||
|
Loading…
Reference in New Issue
Block a user