mounts: always return message when getting status
This commit is contained in:
@@ -70,9 +70,9 @@ async function getStatus(config) {
|
||||
let hostPath;
|
||||
if (mounts.isManagedProvider(config._provider)) {
|
||||
hostPath = config._managedMountPath;
|
||||
} else if (config._provider === 'mountpoint') {
|
||||
} else if (config._provider === mounts.MOUNT_TYPE_MOUNTPOINT) {
|
||||
hostPath = config.mountPoint;
|
||||
} else if (config._provider === 'filesystem') {
|
||||
} else if (config._provider === mounts.MOUNT_TYPE_FILESYSTEM) {
|
||||
hostPath = config.backupDir;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user