From 92802758872a7fc711a715cfc5d18abb8a3c07aa Mon Sep 17 00:00:00 2001 From: Yuzuru Suzuki Date: Wed, 1 Jul 2020 18:20:23 +0900 Subject: [PATCH] Fix typo --- 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" // })