Merge pull request #177 from getmaxun/minio-msg

chore: minio success message
This commit is contained in:
Karishma Shukla
2024-11-15 23:42:06 +05:30
committed by GitHub

View File

@@ -12,9 +12,9 @@ const minioClient = new Client({
minioClient.bucketExists('maxun-test') minioClient.bucketExists('maxun-test')
.then((exists) => { .then((exists) => {
if (exists) { if (exists) {
console.log('MinIO was connected successfully.'); console.log('MinIO connected successfully.');
} else { } else {
console.log('Bucket does not exist, but MinIO was connected.'); console.log('MinIO connected successfully.');
} }
}) })
.catch((err) => { .catch((err) => {