mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-18 04:41:19 +02:00
ci: fix linter warnings for preallocation
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func validateHeaders(headers []options.Header) []string {
|
||||
//nolint:prealloc
|
||||
msgs := []string{}
|
||||
names := make(map[string]struct{})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user