From b203a25e1f6c4b9b3f4495349f42c2ef51e60523 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 Jul 2023 16:21:15 +0200 Subject: [PATCH] Keep s3 commands simple As s3 implementation between s3 providers can be different --- server/lib/object-storage/shared/object-storage-helpers.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/lib/object-storage/shared/object-storage-helpers.ts b/server/lib/object-storage/shared/object-storage-helpers.ts index 861c490d7..0d8878bd2 100644 --- a/server/lib/object-storage/shared/object-storage-helpers.ts +++ b/server/lib/object-storage/shared/object-storage-helpers.ts @@ -145,8 +145,6 @@ function removeObjectByFullKey (fullKey: string, bucketInfo: BucketInfo) { } async function removePrefix (prefix: string, bucketInfo: BucketInfo) { - // FIXME: use bulk delete when s3ninja will support this operation - logger.debug('Removing prefix %s in bucket %s', prefix, bucketInfo.BUCKET_NAME, lTags()) return applyOnPrefix({