Commit 155fc19a authored by Romain Courteaud's avatar Romain Courteaud

slapos_upgrader: do not fail if already migrated

parent e61f3341
......@@ -17,6 +17,8 @@ try:
assert instance_virtual_master_relative_url != remote_node.getDestinationProject()
assert remote_partition.getFollowUp() == remote_node.getDestinationProject()
except AssertionError:
if instance_virtual_master_relative_url == remote_node.getDestinationProject():
return
# Something wrong here, maybe the instance was already migrated
raise
......
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