Skip to content

Commit

Permalink
rm dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
brett-onions committed Nov 28, 2024
1 parent c16d4bf commit 356a69c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/utils/minioClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit 356a69c

Please sign in to comment.