diff --git a/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/S3Backend.java b/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/S3Backend.java index c4f74fb9fe1..d32cd04ea0a 100644 --- a/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/S3Backend.java +++ b/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/S3Backend.java @@ -1245,7 +1245,7 @@ private void renameKeys() throws DataStoreException { // delete the object if it follows old key name format if( s3ObjSumm.getKey().startsWith(KEY_PREFIX)) { deleteList.add(new DeleteObjectsRequest.KeyVersion( - s3ObjSumm.getKey())); + s3ObjSumm.getKey())); keysToDelete.add(s3ObjSumm.getKey()); } }