fix(xo-server/backupNg.importVmBackup): add missing version for delta
This commit is contained in:
parent
80187e2789
commit
ad0d4156fb
@ -12,10 +12,13 @@ type MaybeArray<T> = Array<T> | T
|
|||||||
export type DeltaVmExport = {|
|
export type DeltaVmExport = {|
|
||||||
streams: $Dict < () => Promise < AugmentedReadable >>,
|
streams: $Dict < () => Promise < AugmentedReadable >>,
|
||||||
vbds: { [ref: string]: Object },
|
vbds: { [ref: string]: Object },
|
||||||
vdis: { [ref: string]: {
|
vdis: {
|
||||||
|
[ref: string]: {
|
||||||
$SR$uuid: string,
|
$SR$uuid: string,
|
||||||
snapshot_of: string,
|
snapshot_of: string,
|
||||||
} },
|
}
|
||||||
|
},
|
||||||
|
version: '1.0.0',
|
||||||
vifs: { [ref: string]: Object },
|
vifs: { [ref: string]: Object },
|
||||||
vm: Vm,
|
vm: Vm,
|
||||||
|}
|
|}
|
||||||
|
@ -202,6 +202,7 @@ const importers: $Dict<
|
|||||||
streams,
|
streams,
|
||||||
vbds: metadata.vbds,
|
vbds: metadata.vbds,
|
||||||
vdis,
|
vdis,
|
||||||
|
version: '1.0.0',
|
||||||
vifs: metadata.vifs,
|
vifs: metadata.vifs,
|
||||||
vm: {
|
vm: {
|
||||||
...vm,
|
...vm,
|
||||||
|
Loading…
Reference in New Issue
Block a user