From dda576eb4a74cd9dd3964a64cb51a7cfc9c0daba Mon Sep 17 00:00:00 2001 From: Yuzuru Suzuki Date: Thu, 2 Jul 2020 02:43:20 +0900 Subject: [PATCH] service/cloudfront/sign: Fix Documentation Typo (#3402) --- service/cloudfront/sign/sign_cookie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/cloudfront/sign/sign_cookie.go b/service/cloudfront/sign/sign_cookie.go index 177507198a1..5ff497622f8 100644 --- a/service/cloudfront/sign/sign_cookie.go +++ b/service/cloudfront/sign/sign_cookie.go @@ -179,7 +179,7 @@ func cookieURLScheme(u string) (string, error) { // // // Or get Signed cookies for a resource that will expire in 1 hour // // and set path and domain of cookies -// cookies, err := s.Sign(policy, func(o *sign.CookieOptions) { +// cookies, err := s.SignWithPolicy(policy, func(o *sign.CookieOptions) { // o.Path = "/" // o.Domain = ".example.com" // })