restore: set diskPath in mountOptions

This commit is contained in:
Girish Ramakrishnan
2022-01-26 13:00:30 -08:00
parent 29960b8d6b
commit 455cf1bf98
+1 -1
View File
@@ -284,7 +284,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
backupConfig.mountOptions.privateKey = $scope.mountOptions.privateKey;
}
} else if (backupConfig.provider === 'ext4') {
backupConfig.mountOptions.diskPath = $scope.diskPath;
backupConfig.mountOptions.diskPath = $scope.mountOptions.diskPath;
} else if (backupConfig.provider === 'mountpoint') {
backupConfig.mountPoint = $scope.mountPoint;
}