storage: remove getProviderStatus

This commit is contained in:
Girish Ramakrishnan
2024-09-09 16:44:19 +02:00
parent 565ad83399
commit ea72cef7f9
9 changed files with 4 additions and 44 deletions
-7
View File
@@ -11,7 +11,6 @@
// 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 = {
getProviderStatus,
getAvailableSize,
upload,
@@ -44,12 +43,6 @@ function injectPrivateFields(newConfig, currentConfig) {
// in-place injection of tokens and api keys which came in with constants.SECRET_PLACEHOLDER
}
async function getProviderStatus(apiConfig) {
assert.strictEqual(typeof apiConfig, 'object');
return { state: 'active' };
}
async function getAvailableSize(apiConfig) {
assert.strictEqual(typeof apiConfig, 'object');