mounts: always return message when getting status

This commit is contained in:
Girish Ramakrishnan
2025-11-05 16:38:11 +01:00
parent 2ea7847d4f
commit de84b5113c
5 changed files with 11 additions and 10 deletions

View File

@@ -172,7 +172,7 @@ async function getStatus(apiConfig) {
const [listError] = await safe(s3.listObjectsV2(listParams));
if (listError) return { status: 'inactive', message: `Error listing objects. ${formatError(listError)}` };
return { state: 'active' };
return { state: 'active', message: '' };
}
async function upload(apiConfig, remotePath) {