1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Updated linters

This commit is contained in:
kvanzuijlen
2023-10-24 16:31:32 +02:00
parent 8d03adfd04
commit e13a5048eb
9 changed files with 18 additions and 22 deletions

View File

@ -38,7 +38,7 @@ func validateHeader(header options.Header, names map[string]struct{}) []string {
return msgs
}
func validateHeaderValue(name string, value options.HeaderValue) []string {
func validateHeaderValue(_ string, value options.HeaderValue) []string {
switch {
case value.SecretSource != nil && value.ClaimSource == nil:
return []string{validateSecretSource(*value.SecretSource)}