Skip to content
Snippets Groups Projects
Commit 298e4dc8 authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

move-instance: Fix parameter order in _CreateInstance


This patch fixes a bug, which caused the primary and secondary
destination nodes to be revered on the destination cluster after an
instance move.

Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent a4ebd726
No related branches found
No related tags found
No related merge requests found
......@@ -437,7 +437,7 @@ class MoveDestExecutor(object):
mrt.dest_to_source.release()
@staticmethod
def _CreateInstance(cl, name, snode, pnode, iallocator, instance, expinfo):
def _CreateInstance(cl, name, pnode, snode, iallocator, instance, expinfo):
"""Starts the instance creation in remote import mode.
@type cl: L{rapi.client.GanetiRapiClient}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment