Skip to content

Commit

Permalink
gofake3: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjan committed Sep 26, 2023
1 parent 6e69dff commit 0a4e022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gofakes3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0a4e022

Please sign in to comment.