Fix typo
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user