Skip to content

Commit 74bc07e

Browse files
committed
✏️ fix some typo on comment and indentation
Issue: CLDSRV-632
1 parent 4357e13 commit 74bc07e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/routes/routeBackbeat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ function putMetadata(request, response, bucketInfo, objMd, log, callback) {
621621

622622
if (isNull) {
623623
if (!nullVersionCompatMode) {
624-
omVal.isNull2 = true;
624+
omVal.isNull2 = true;
625625
}
626626

627627
omVal.isNull = isNull;
@@ -669,7 +669,7 @@ function putMetadata(request, response, bucketInfo, objMd, log, callback) {
669669
},
670670
async () => {
671671
// If we create a new version of an object (so objMd is null),
672-
// we should make sure that the masterVersion is versionned.
672+
// we should make sure that the masterVersion is versioned.
673673
// If an object already exists, we just want to update the metadata
674674
// of the existing object and not create a new one
675675
if (versioning && !objMd) {

tests/unit/routes/routeBackbeat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ describe('routeBackbeat', () => {
594594
sinon.assert.calledOnce(metadataGetObjectMDPromisedStub);
595595
sinon.assert.calledTwice(metadataPutObjectMDStub);
596596
sinon.assert.calledWith(
597-
metadataPutObjectMDStub.firstCall,// Transform the non versioned object to a versioned one
597+
metadataPutObjectMDStub.firstCall, // Transform the non versioned object to a versioned one
598598
'bucket0',
599599
'key0',
600600
sinon.match({

0 commit comments

Comments
 (0)