mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 02:42:57 +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
|
@ -205,7 +205,7 @@ func Test_parseHeaders(t *testing.T) {
|
|||
name string
|
||||
want map[string]string
|
||||
envHeaders string
|
||||
viperHeaders interface{}
|
||||
viperHeaders any
|
||||
wantErr bool
|
||||
}{
|
||||
{
|
||||
|
@ -513,7 +513,7 @@ func Test_AutoCertOptionsFromEnvVar(t *testing.T) {
|
|||
}
|
||||
|
||||
tests := map[string]func(t *testing.T) test{
|
||||
"ok/simple": func(t *testing.T) test {
|
||||
"ok/simple": func(_ *testing.T) test {
|
||||
envs := map[string]string{
|
||||
"AUTOCERT": "true",
|
||||
"AUTOCERT_DIR": "/test",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue