diff --git a/post-policy.go b/post-policy.go index 4cc9e24d5..f6dbbf7f6 100644 --- a/post-policy.go +++ b/post-policy.go @@ -161,7 +161,7 @@ func (p *PostPolicy) SetTagging(tagging string) error { } _, err := tags.ParseObjectXML(strings.NewReader(tagging)) if err != nil { - return errors.New("The XML you provided was not well-formed or did not validate against our published schema.") + return errors.New("The XML you provided was not well-formed or did not validate against our published schema.") //nolint } policyCond := policyCondition{ matchType: "eq",