mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-22 19:18:01 +02:00
core/lint: upgrade golangci-lint, replace interface{} with any (#5099)
* core/lint: upgrade golangci-lint, replace interface{} with any * regen proto
This commit is contained in:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -22,7 +22,7 @@ func TestMetricsManager(t *testing.T) {
|
|||
mgr := NewMetricsManager(ctx, src)
|
||||
srv1 := httptest.NewServer(mgr)
|
||||
defer srv1.Close()
|
||||
srv2 := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
srv2 := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
||||
http.Error(w, "ERROR", http.StatusInternalServerError)
|
||||
}))
|
||||
defer srv2.Close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue