mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-24 21:48:23 +02:00
linter pass
This commit is contained in:
parent
f1d2799a9f
commit
8049ca54d0
13 changed files with 51 additions and 50 deletions
|
@ -31,7 +31,7 @@ func BenchmarkRequestLatency(b *testing.B) {
|
|||
env.Add(scenarios.NewIDP(users))
|
||||
|
||||
up := upstreams.HTTP(nil)
|
||||
up.Handle("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
up.Handle("/", func(w http.ResponseWriter, _ *http.Request) {
|
||||
w.Write([]byte("OK"))
|
||||
})
|
||||
routes := make([]testenv.Route, n)
|
||||
|
@ -43,7 +43,7 @@ func BenchmarkRequestLatency(b *testing.B) {
|
|||
env.AddUpstream(up)
|
||||
|
||||
env.Start()
|
||||
snippets.WaitStartupComplete(b, env)
|
||||
snippets.WaitStartupComplete(env)
|
||||
|
||||
b.StartTimer()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue