mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
cs_instance: fix host migration without volume (#46115)
This commit is contained in:
@@ -840,7 +840,7 @@ class AnsibleCloudStackInstance(AnsibleCloudStack):
|
||||
'hostid': self.get_host_id(),
|
||||
}
|
||||
if not self.module.check_mode:
|
||||
res = self.query_api('migrateVirtualMachineWithVolume', **args_host)
|
||||
res = self.query_api('migrateVirtualMachine', **args_host)
|
||||
instance = self.poll_job(res, 'virtualmachine')
|
||||
|
||||
return instance
|
||||
|
||||
Reference in New Issue
Block a user