@xen-orchestra/backups 0.44.4 → 0.44.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,8 @@ function formatVmBackup(backup) {
6
6
 
7
7
  let differencingVhds
8
8
  let dynamicVhds
9
- const withMemory = vmSnapshot.suspend_VDI !== 'OpaqueRef:NULL'
9
+ // some backups don't use snapshots, therefore cannot be with memory
10
+ const withMemory = vmSnapshot !== undefined && vmSnapshot.suspend_VDI !== 'OpaqueRef:NULL'
10
11
  // isVhdDifferencing is either undefined or an object
11
12
  if (isVhdDifferencing !== undefined) {
12
13
  differencingVhds = Object.values(isVhdDifferencing).filter(t => t).length
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/vatesfr/xen-orchestra.git"
10
10
  },
11
- "version": "0.44.4",
11
+ "version": "0.44.5",
12
12
  "engines": {
13
13
  "node": ">=14.18"
14
14
  },