diff --git a/src/storage/filesystem.js b/src/storage/filesystem.js index 84750265f..f684bd7c4 100644 --- a/src/storage/filesystem.js +++ b/src/storage/filesystem.js @@ -333,7 +333,7 @@ async function verifyConfig({ id, provider, config }) { const error = mounts.validateMountOptions(provider, config.mountOptions); if (error) throw error; - await mounts.tryAddMount(mountObjectFromConfig({ provider, mountOptions: config.mountOptions, hostPath: `${managedMountPath}-validation` }), { timeout: 10 }); + await mounts.tryAddMount(mountObjectFromConfig({ _provider: provider, mountOptions: config.mountOptions, hostPath: `${managedMountPath}-validation` }), { timeout: 10 }); } else if (provider === mounts.MOUNT_TYPE_MOUNTPOINT) { if (!config.mountPoint || typeof config.mountPoint !== 'string') throw new BoxError(BoxError.BAD_FIELD, 'mountPoint must be non-empty string'); const error = validateDestDir(config.mountPoint);