fix(backups/RemoteAdapter#cleanVm): don't fail if no vdis
dir
Detected in #5756 Necessary to handle VMs with only full backups.
This commit is contained in:
parent
f86ec98e05
commit
bb928bbd73
@ -80,6 +80,7 @@ const listVhds = async (handler, vmDir) => {
|
||||
const vhds = []
|
||||
await asyncMap(
|
||||
await handler.list(`${vmDir}/vdis`, {
|
||||
ignoreMissing: true,
|
||||
prependDir: true,
|
||||
}),
|
||||
async jobDir =>
|
||||
|
@ -29,3 +29,4 @@
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- @xen-orchestra/fs minor
|
||||
- @xen-orchestra/backups patch
|
||||
|
Loading…
Reference in New Issue
Block a user