system: return the mounted and unmounted block devices (as long as xfs or ext4)
This commit is contained in:
@@ -352,7 +352,7 @@ async function verifyConfig({ id, provider, config }) {
|
||||
if (mounts.isManagedProvider(provider)) {
|
||||
if (!config.mountOptions || typeof config.mountOptions !== 'object') throw new BoxError(BoxError.BAD_FIELD, 'mountOptions must be an object');
|
||||
|
||||
const error = mounts.validateMountOptions(provider, config.mountOptions);
|
||||
const error = await mounts.validateMountOptions(provider, config.mountOptions);
|
||||
if (error) throw error;
|
||||
|
||||
const tmpConfig = {
|
||||
|
||||
Reference in New Issue
Block a user