From 543c08bc3fc22c943856192baf9a71d90f7a0ed8 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 15 Nov 2024 23:39:37 +0530 Subject: [PATCH 1/2] chore: -rm bucket was not found message --- server/src/storage/mino.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/storage/mino.ts b/server/src/storage/mino.ts index d2146228..3fc3f3cf 100644 --- a/server/src/storage/mino.ts +++ b/server/src/storage/mino.ts @@ -14,7 +14,7 @@ minioClient.bucketExists('maxun-test') if (exists) { console.log('MinIO was connected successfully.'); } else { - console.log('Bucket does not exist, but MinIO was connected.'); + console.log('MinIO was connected.'); } }) .catch((err) => { From 4b8d24294a33dabe9b1d32af513a658ef6916b6f Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 15 Nov 2024 23:40:21 +0530 Subject: [PATCH 2/2] chore: clearer succcess message --- server/src/storage/mino.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/storage/mino.ts b/server/src/storage/mino.ts index 3fc3f3cf..0f29c3cd 100644 --- a/server/src/storage/mino.ts +++ b/server/src/storage/mino.ts @@ -12,9 +12,9 @@ const minioClient = new Client({ minioClient.bucketExists('maxun-test') .then((exists) => { if (exists) { - console.log('MinIO was connected successfully.'); + console.log('MinIO connected successfully.'); } else { - console.log('MinIO was connected.'); + console.log('MinIO connected successfully.'); } }) .catch((err) => {