rename to checkBackupPreconditions

since this is called only by the backup logic
This commit is contained in:
Girish Ramakrishnan
2022-10-02 16:20:14 +02:00
parent b32288050e
commit 9d17c6606b
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
// them to tune the concurrency based on failures/rate limits accordingly
exports = module.exports = {
getRootPath,
checkPreconditions,
checkBackupPreconditions,
upload,
@@ -54,7 +54,7 @@ function getRootPath(apiConfig) {
return '/';
}
async function checkPreconditions(apiConfig, dataLayout) {
async function checkBackupPreconditions(apiConfig, dataLayout) {
assert.strictEqual(typeof apiConfig, 'object');
assert(dataLayout instanceof DataLayout, 'dataLayout must be a DataLayout');
}