Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos.core
Commits
f1ea1078
Commit
f1ea1078
authored
Mar 13, 2024
by
Titouan Soulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "slapos_cloud: Do not automatically approve computer registration"
This reverts commit
f3dfdd13
.
parent
d0e651aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/script_Person_requestComputeNode.py
...ap_interface_workflow/script_Person_requestComputeNode.py
+1
-3
No files found.
master/bt5/slapos_cloud/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/script_Person_requestComputeNode.py
View file @
f1ea1078
...
...
@@ -55,9 +55,7 @@ else:
follow_up_value
=
project_list
[
0
],
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_url"
,
compute_node
.
absolute_url
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment