Compare commits

...

1 Commits

Author SHA1 Message Date
Jonathan Gramain 0bd0c1a9a5 [KUBE] fallback to regular delete if DISABLE_BATCH_DELETE env var is set
This to prevent a data leak because sproxyd with local storage does not support batch delete
2020-03-25 15:41:34 -07:00
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ const data = {
});
const keys = [];
let backendName = '';
const shouldBatchDelete = locations.every(l => {
const shouldBatchDelete = !process.env.DISABLE_BATCH_DELETE && locations.every(l => {
// legacy sproxyd location, should fallback to using regular delete
if (typeof l === 'string') {
return false;