Skip to content

Commit

Permalink
fixup on test post review
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jul 15, 2024
1 parent fa8943d commit 9fab537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/apiUtils/object/createAndStoreObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ function createAndStoreObject(bucketName, bucketMD, objectKey, objMD, authInfo,
metadataStoreParams.oldReplayId = objMD.uploadId;
}

if (objMD && !bucketMD.isVersioningEnabled() &&objMD?.archive?.archiveInfo) {
if (objMD && !bucketMD.isVersioningEnabled() && objMD?.archive?.archiveInfo) {
metadataStoreParams.needOplogUpdate = true;
metadataStoreParams.originOp = "s3:ReplaceArchivedObject";
metadataStoreParams.originOp = 's3:ReplaceArchivedObject';
}

/* eslint-disable camelcase */
Expand Down

0 comments on commit 9fab537

Please sign in to comment.