Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ export default {
this.volumes = []
getAPI('listVolumes', {
listAll: true,
virtualmachineid: this.resource.id
virtualmachineid: this.resource.id,
listsystemvms: true
}).then(response => {
Comment on lines 171 to 175
var volumes = response.listvolumesresponse.volume
if (volumes && volumes.length > 0) {
Expand Down
10 changes: 5 additions & 5 deletions ui/src/views/compute/MigrateWizard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,11 @@ export default {
submitForm () {
if (this.loading) return
this.loading = true
const migrateApi = this.isUserVm
? this.requiresStorageMigration()
? 'migrateVirtualMachineWithVolume'
: 'migrateVirtualMachine'
: 'migrateSystemVm'
const migrateApi = !this.requiresStorageMigration()
? this.isUserVm
? 'migrateVirtualMachine'
: 'migrateSystemVm'
: 'migrateVirtualMachineWithVolume'
Comment on lines +341 to +345
var params = this.selectedHost.id === -1
? { autoselect: true, virtualmachineid: this.resource.id }
: { hostid: this.selectedHost.id, virtualmachineid: this.resource.id }
Expand Down
Loading