From a002958448386af27cb328d59610e50c89add22a Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Wed, 14 Sep 2016 13:59:42 +0200 Subject: [PATCH] fix(DR): remove previous VDIs Fixes vatesfr/xo-web#1510 --- src/xo-mixins/backups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xo-mixins/backups.js b/src/xo-mixins/backups.js index 4e7dbb310..41a052b20 100644 --- a/src/xo-mixins/backups.js +++ b/src/xo-mixins/backups.js @@ -709,7 +709,7 @@ export default class { const n = 1 - depth await Promise.all(mapToArray(n ? olderCopies.slice(0, n) : olderCopies, vm => // Do not consider a failure to delete an old copy as a fatal error. - targetXapi.deleteVm(vm.$id)::pCatch(noop) + targetXapi.deleteVm(vm.$id, true)::pCatch(noop) )) } }