Skip to content

Commit

Permalink
fixup! refactor(xo-server): extract vmware import method to its own m…
Browse files Browse the repository at this point in the history
…ixin
  • Loading branch information
fbeauchamp committed Apr 17, 2024
1 parent 227d5fb commit 1583867
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const importDisksFromDatastore = async function importDisksFromDatastore(
Object.keys(chainsByNodes).map(async (node, userdevice) =>
Task.run({ properties: { name: `Cold import of disks ${node}` } }, async () => {
const chainByNode = chainsByNodes[node]
const { vdi, vhd: parentVhd } = vhds[userdevice]
const { vdi, vhd: parentVhd } = vhds[userdevice] ?? {}
return importDiskChain({ esxi, dataStoreToHandlers, vm, chainByNode, userdevice, sr, parentVhd, vdi })
})
)
Expand Down

0 comments on commit 1583867

Please sign in to comment.