Skip to content

Commit

Permalink
impr(CLDSRV-464): Add owner-id to mpu part metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Nov 1, 2023
1 parent 212c7f5 commit 967ab96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/api/objectPutPart.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ function objectPutPart(authInfo, request, streamingV4Params, log,
'last-modified': new Date().toJSON(),
'content-md5': hexDigest,
'content-length': size,
'owner-id': destinationBucket.getOwner(),
};
const mdParams = { overheadField: constants.overheadField };
return metadata.putObjectMD(mpuBucketName, partKey, omVal, mdParams, log,
Expand Down

0 comments on commit 967ab96

Please sign in to comment.