Merge pull request #2283 from kvanzuijlen/golint

Updated linters
This commit is contained in:
Joel Speed
2023-10-25 11:36:44 +01:00
committed by GitHub
9 changed files with 18 additions and 22 deletions
+1 -1
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)}