Commit 9ade2492 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop allocation_scope/open categories

parent d7044c74
......@@ -4,8 +4,8 @@ from zExceptions import Unauthorized
if REQUEST is not None:
raise Unauthorized
if compute_node.getAllocationScope() not in ['open/public', 'open/subscription', 'open/personal']:
# Don't update non closed computers
if compute_node.getAllocationScope() != 'open':
# Don't update non public compute_node
return
can_allocate = True
......
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