linter pass

This commit is contained in:
Joe Kralicky 2024-10-24 17:56:30 -04:00
parent f1d2799a9f
commit 8049ca54d0
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
13 changed files with 51 additions and 50 deletions

View file

@ -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()