From 356a69c5848f39d370ac36b113226d3b6425693e Mon Sep 17 00:00:00 2001 From: Brett Onions Date: Thu, 28 Nov 2024 08:45:52 +0200 Subject: [PATCH] rm dead code --- src/utils/minioClient.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/utils/minioClient.ts b/src/utils/minioClient.ts index d776f1e..e2663db 100644 --- a/src/utils/minioClient.ts +++ b/src/utils/minioClient.ts @@ -170,15 +170,6 @@ export async function uploadToMinio( } export async function createMinioBucketListeners(listOfBuckets: string[]) { - // try { - // // Test connection by attempting to list buckets - // await minioClient.listBuckets(); - // logger.info(`Successfully connected to Minio at ${endPoint}:${port}`); - // } catch (error) { - // logger.error(`Failed to connect to Minio: ${error}`); - // throw error; - // } - for (const bucket of listOfBuckets) { if (registeredBuckets.has(bucket)) { logger.info(`Bucket ${bucket} already registered`);