mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
removes invalid comment
This commit is contained in:
parent
03c23dd9c1
commit
0f69e06fcf
@ -81,8 +81,6 @@ func (rr *routeRegister) Register(router Router) *macaron.Router {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (rr *routeRegister) route(pattern, method string, handlers ...macaron.Handler) {
|
func (rr *routeRegister) route(pattern, method string, handlers ...macaron.Handler) {
|
||||||
//inject tracing
|
|
||||||
|
|
||||||
h := make([]macaron.Handler, 0)
|
h := make([]macaron.Handler, 0)
|
||||||
for _, fn := range rr.namedMiddleware {
|
for _, fn := range rr.namedMiddleware {
|
||||||
h = append(h, fn(pattern))
|
h = append(h, fn(pattern))
|
||||||
|
Loading…
Reference in New Issue
Block a user