storage: rename getBackupPath to getBasePath

This commit is contained in:
Girish Ramakrishnan
2022-04-04 14:08:24 -07:00
parent a05e564ae6
commit 54934c41a7
6 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
// for the other API calls we leave it to the backend to retry. this allows
// them to tune the concurrency based on failures/rate limits accordingly
exports = module.exports = {
getBackupPath,
getBasePath,
checkPreconditions,
upload,
@@ -49,7 +49,7 @@ function injectPrivateFields(newConfig, currentConfig) {
// in-place injection of tokens and api keys which came in with constants.SECRET_PLACEHOLDER
}
function getBackupPath(apiConfig) {
function getBasePath(apiConfig) {
assert.strictEqual(typeof apiConfig, 'object');
// Result: path at the backup storage