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
+2 -2
View File
@@ -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;
}