forked from TrueCloudLab/frostfs-s3-gw
[#487] Optimize bucketInfo in initObjectPayloadReader
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
4767eeed8c
commit
e904ed51c7
7 changed files with 15 additions and 7 deletions
|
@ -102,6 +102,7 @@ func (h *handler) CopyObjectHandler(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
params := &layer.CopyObjectParams{
|
||||
SrcObject: info,
|
||||
ScrBktInfo: p.BktInfo,
|
||||
DstBktInfo: dstBktInfo,
|
||||
DstObject: reqInfo.ObjectName,
|
||||
SrcSize: info.Size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue