mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
tests: Fix in Marvin migrate_vm_with_volume (#5023)
Cannot migrate VM to another storage, because 'migrateto' is overriden.
This commit is contained in:
parent
2286c8d2bf
commit
06454ff92e
@ -867,8 +867,8 @@ class VirtualMachine:
|
||||
if hostid:
|
||||
cmd.hostid = hostid
|
||||
if migrateto:
|
||||
migrateto = []
|
||||
for volume, pool in migrateto.items():
|
||||
cmd.migrateto = []
|
||||
for volume, pool in list(migrateto.items()):
|
||||
cmd.migrateto.append({
|
||||
'volume': volume,
|
||||
'pool': pool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user