Skip to content

Commit

Permalink
service/cloudfront/sign: Fix Documentation Typo (#3402)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzuruS committed Jul 1, 2020
1 parent 35fa6dd commit dda576e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/cloudfront/sign/sign_cookie.go
Expand Up @@ -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"
// })
Expand Down

0 comments on commit dda576e

Please sign in to comment.