Commit bb9be09a authored by Titouan Soulard's avatar Titouan Soulard Committed by Romain Courteaud

Revert "slapos_cloud: Do not automatically approve computer registration"

This reverts commit f3dfdd13.
parent 46fb2097
...@@ -55,9 +55,7 @@ else: ...@@ -55,9 +55,7 @@ else:
follow_up_value=project_list[0], follow_up_value=project_list[0],
activate_kw={'tag': tag} activate_kw={'tag': tag}
) )
compute_node.requestComputeNodeRegistration() compute_node.approveComputeNodeRegistration()
if kwargs.get("approve_registration", True):
compute_node.approveComputeNodeRegistration()
context.REQUEST.set("compute_node", compute_node.getRelativeUrl()) context.REQUEST.set("compute_node", compute_node.getRelativeUrl())
context.REQUEST.set("compute_node_url", compute_node.absolute_url()) context.REQUEST.set("compute_node_url", compute_node.absolute_url())
......
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