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
+2 -3
View File
@@ -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) {