mounts: always return message when getting status
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user