storage: make remount async
This commit is contained in:
@@ -140,13 +140,12 @@ function removeDir(apiConfig, pathPrefix) {
|
||||
return events;
|
||||
}
|
||||
|
||||
function remount(apiConfig, callback) {
|
||||
async function remount(apiConfig) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
assert.strictEqual(typeof callback, 'function');
|
||||
|
||||
// Result: none
|
||||
|
||||
callback(new BoxError(BoxError.NOT_IMPLEMENTED, 'remount is not implemented'));
|
||||
throw new BoxError(BoxError.NOT_IMPLEMENTED, 'remount is not implemented');
|
||||
}
|
||||
|
||||
function testConfig(apiConfig, callback) {
|
||||
|
||||
Reference in New Issue
Block a user