Commit 6f918cb2 authored by Hrvoje Ribicic's avatar Hrvoje Ribicic

Pass correct params in move-instance

move-instance incorrectly passes backend params as the OS params when
moving an instance. This patch fixes this.
Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 76d6ca61
......@@ -450,7 +450,7 @@ class MoveDestExecutor(object):
mrt.move.dest_disk_template,
mrt.src_instinfo, mrt.src_expinfo,
mrt.move.hvparams, mrt.move.beparams,
mrt.move.beparams, mrt.move.nics)
mrt.move.osparams, mrt.move.nics)
mrt.PollJob(dest_client, job_id,
remote_import_fn=compat.partial(self._SetImportInfo, mrt))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment