mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
Updated linters
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user