Commit f3dfdd13 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

slapos_cloud: Do not automatically approve computer registration

parent f9a1c1f8
...@@ -54,6 +54,8 @@ else: ...@@ -54,6 +54,8 @@ else:
follow_up_value=project_list[0], follow_up_value=project_list[0],
activate_kw={'tag': tag} activate_kw={'tag': tag}
) )
compute_node.requestComputeNodeRegistration()
if kwargs.get("approve_registration", True):
compute_node.approveComputeNodeRegistration() compute_node.approveComputeNodeRegistration()
context.REQUEST.set("compute_node", compute_node.getRelativeUrl()) context.REQUEST.set("compute_node", compute_node.getRelativeUrl())
......
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