Commit f79ce163 authored by Romain Courteaud's avatar Romain Courteaud

Using uid in catalog prevent doing one more useless join

parent b6a2dacb
......@@ -574,7 +574,7 @@ class SlapTool(BaseTool):
portal_preferences.getPreferredInstanceUpdateResource())
global_query_kw = dict(aggregate_portal_type="Slave Instance",
aggregate_relative_url=computer_partition_document.getRelativeUrl(),)
default_aggregate_uid=computer_partition_document.getUid(),)
hosting_query = ComplexQuery(Query(simulation_state=["confirmed", "stopped"]),
Query(default_resource_uid=hosting_service.getUid()),
......
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