Commit 0da54d8a authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop allocation_scope/open categories

parent d24cc65a
......@@ -4,11 +4,9 @@ kw['url_string'] = context.getUrlString()
software_installation_list = context.portal_catalog(**kw)
compute_node_list = []
allocation_scope_list = ['open/public', 'open/friend']
for software_installation in software_installation_list:
compute_node = software_installation.getAggregateValue()
if software_installation.getSlapState() == 'start_requested' and \
compute_node.getAllocationScope() in allocation_scope_list:
if software_installation.getSlapState() == 'start_requested':
compute_node_list.append(compute_node)
return compute_node_list
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