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 15, 2024
1 parent 72b76bd commit 31de324
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/xo-server/src/xo-mixins/vmware/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ export default class MigrateVm {
if (isRunning) {
const running = chainCopy.pop() // cold chain does not contain the running one anymore
runningChainByNodes[index] = [running]

Check failure on line 94 in packages/xo-server/src/xo-mixins/vmware/index.mjs

View workflow job for this annotation

GitHub Actions / CI

'index' is not defined
})
}
}
coldChainsByNodes[key] = chainCopy
})


const vhds = await importDisksFromDatastore({
esxi,
Expand Down

0 comments on commit 31de324

Please sign in to comment.