storage: automatically abort old multipart uploads in s3
This commit is contained in:
@@ -14,6 +14,8 @@ exports = module.exports = {
|
||||
remove,
|
||||
removeDir,
|
||||
|
||||
cleanup,
|
||||
|
||||
testConfig,
|
||||
removePrivateFields,
|
||||
injectPrivateFields
|
||||
@@ -216,6 +218,11 @@ function validateBackupTarget(folder) {
|
||||
return null;
|
||||
}
|
||||
|
||||
async function cleanup(apiConfig, progressCallback) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
assert.strictEqual(typeof progressCallback, 'function');
|
||||
}
|
||||
|
||||
async function testConfig(apiConfig) {
|
||||
assert.strictEqual(typeof apiConfig, 'object');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user