mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:22:13 +08:00
fix broken code
This commit is contained in:
@ -487,7 +487,7 @@ func middlewareScenario(desc string, fn scenarioFunc) {
|
||||
Delims: macaron.Delims{Left: "[[", Right: "]]"},
|
||||
}))
|
||||
|
||||
sc.m.Use(GetContextHandler())
|
||||
sc.m.Use(GetContextHandler(nil))
|
||||
// mock out gc goroutine
|
||||
session.StartSessionGC = func() {}
|
||||
sc.m.Use(Sessioner(&ms.Options{}, 0))
|
||||
|
Reference in New Issue
Block a user