Skip to content

Commit e90dcdb

Browse files
committed
Fix: Remove duplicate call to disableAnywhereCache
The function was being called twice due to an oversight during a recent try/catch restructure.
1 parent 002f574 commit e90dcdb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

storage-control/disableAnywhereCache.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ function main(bucketName, cacheName) {
8888
}
8989
throw error;
9090
}
91-
// Run request
92-
const [response] = await controlClient.disableAnywhereCache(request);
93-
console.log(`Disabled anywhere cache: ${response.name}.`);
9491
}
9592

9693
callDisableAnywhereCache();

0 commit comments

Comments
 (0)