storage: make remount async

This commit is contained in:
Girish Ramakrishnan
2022-04-14 07:43:43 -05:00
parent b51082f7e4
commit a39e0ab934
6 changed files with 7 additions and 23 deletions

View File

@@ -457,11 +457,8 @@ function removeDir(apiConfig, pathPrefix) {
return events;
}
function remount(apiConfig, callback) {
async function remount(apiConfig) {
assert.strictEqual(typeof apiConfig, 'object');
assert.strictEqual(typeof callback, 'function');
return callback(new BoxError(BoxError.NOT_SUPPORTED));
}
function testConfig(apiConfig, callback) {