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:
|
if hostid:
|
||||||
cmd.hostid = hostid
|
cmd.hostid = hostid
|
||||||
if migrateto:
|
if migrateto:
|
||||||
migrateto = []
|
cmd.migrateto = []
|
||||||
for volume, pool in migrateto.items():
|
for volume, pool in list(migrateto.items()):
|
||||||
cmd.migrateto.append({
|
cmd.migrateto.append({
|
||||||
'volume': volume,
|
'volume': volume,
|
||||||
'pool': pool
|
'pool': pool
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user