Commit 58a14014 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: invalidated instances are supposed to be destroyed

Optimize the query execution time.
parent 3eb3f76c
......@@ -3,7 +3,6 @@ portal = context.getPortalObject()
portal.portal_catalog.searchAndActivate(
aggregate__uid="%",
validation_state="invalidated",
slap_state="destroy_requested",
parent_uid=context.getPortalObject().software_instance_module.getUid(),
method_id='SoftwareInstance_tryToUnallocatePartition',
activate_kw={'tag': tag}
......
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