Commit abbcf3d2 authored by Romain Courteaud's avatar Romain Courteaud

slapos_upgrader: some instances were manually invalidated...

parent 91dbbca8
......@@ -49,7 +49,7 @@ remote_instance_tree = context.REQUEST.get('request_instance_tree')
requested_software_instance = context.REQUEST.get('request_instance')
if remote_instance_tree is None:
assert instance.getSlapState() == 'destroy_requested'
assert (instance.getSlapState() == 'destroy_requested') or (instance.getValidationState() == 'invalidated')
else:
requested_software_instance.edit(
# keep the previous allocation partition
......
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