From 62ffb94b9079e4d5e154d7c7de1e89971d88b395 Mon Sep 17 00:00:00 2001 From: Zhiqiang Zhang Date: Fri, 28 Jul 2023 02:57:32 +0800 Subject: [PATCH] fix v4.go PresignHTTP doc (#2212) --- aws/signer/v4/v4.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/signer/v4/v4.go b/aws/signer/v4/v4.go index afd069c1f39..4d162556bbf 100644 --- a/aws/signer/v4/v4.go +++ b/aws/signer/v4/v4.go @@ -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.