diff --git a/aws/signer/v4/header_rules.go b/aws/signer/v4/header_rules.go index 716e6181f54..9937538317a 100644 --- a/aws/signer/v4/header_rules.go +++ b/aws/signer/v4/header_rules.go @@ -44,12 +44,12 @@ func (w allowList) IsValid(value string) bool { return w.rule.IsValid(value) } -// excludeList is a generic rule for blacklisting +// excludeList is a generic rule for exclude listing type excludeList struct { rule } -// IsValid for allow list checks if the value is within the allow list +// IsValid for exclude list checks if the value is within the exclude list func (b excludeList) IsValid(value string) bool { return !b.rule.IsValid(value) }