From 0a4e022e41a6cb104d3179e56e8061f33c9b0821 Mon Sep 17 00:00:00 2001 From: PJ Date: Tue, 26 Sep 2023 11:21:35 +0200 Subject: [PATCH] gofake3: fix lint --- gofakes3.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gofakes3.go b/gofakes3.go index 66c0284..9161334 100644 --- a/gofakes3.go +++ b/gofakes3.go @@ -955,12 +955,12 @@ func (g *GoFakeS3) putMultipartUploadPart(bucket, object string, uploadID Upload } } - etag, err := g.uploader.UploadPart(bucket, object, uploadID, int(partNumber), r.ContentLength, rdr) + res, err := g.uploader.UploadPart(bucket, object, uploadID, int(partNumber), r.ContentLength, rdr) if err != nil { return err } - w.Header().Add("ETag", formatETag(etag)) + w.Header().Add("ETag", res.ETag) return nil }