Skip to content

Commit

Permalink
fix v4.go PresignHTTP doc (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzqs authored Jul 27, 2023
1 parent b4d8d26 commit 62ffb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/signer/v4/v4.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func (s Signer) SignHTTP(ctx context.Context, credentials aws.Credentials, r *ht
//
// expires := 20 * time.Minute
// query := req.URL.Query()
// query.Set("X-Amz-Expires", strconv.FormatInt(int64(expires/time.Second), 10)
// query.Set("X-Amz-Expires", strconv.FormatInt(int64(expires/time.Second), 10))
// req.URL.RawQuery = query.Encode()
//
// This method does not modify the provided request.
Expand Down

0 comments on commit 62ffb94

Please sign in to comment.