Skip to content

Commit dda576e

Browse files
authored
service/cloudfront/sign: Fix Documentation Typo (#3402)
1 parent 35fa6dd commit dda576e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/cloudfront/sign/sign_cookie.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func cookieURLScheme(u string) (string, error) {
179179
//
180180
// // Or get Signed cookies for a resource that will expire in 1 hour
181181
// // and set path and domain of cookies
182-
// cookies, err := s.Sign(policy, func(o *sign.CookieOptions) {
182+
// cookies, err := s.SignWithPolicy(policy, func(o *sign.CookieOptions) {
183183
// o.Path = "/"
184184
// o.Domain = ".example.com"
185185
// })

0 commit comments

Comments
 (0)