From ddf01e4eecd4cab87768c634d160c92d1db4a89c Mon Sep 17 00:00:00 2001 From: Peter Mescalchin Date: Thu, 15 Jul 2021 03:32:11 +1000 Subject: [PATCH] Fixup signer header rules excludeList struct/func descriptions (#3970) Related to the work done in #3968 - noted there were a few minor typos made when flipping to allow/exclude named lists. --- aws/signer/v4/header_rules.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }