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
Xavier Thompson
slapos.core
Commits
e9c7939f
Commit
e9c7939f
authored
Mar 29, 2021
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapproxy: Comment dead code
parent
9c5f02a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
slapos/proxy/views.py
slapos/proxy/views.py
+5
-3
No files found.
slapos/proxy/views.py
View file @
e9c7939f
...
@@ -875,9 +875,11 @@ def requestSlave(software_release, software_type, partition_reference, partition
...
@@ -875,9 +875,11 @@ def requestSlave(software_release, software_type, partition_reference, partition
slave_instance_list
=
[
new_slave
]
slave_instance_list
=
[
new_slave
]
slave_updated_or_added
=
True
slave_updated_or_added
=
True
q
+=
' WHERE reference=? AND computer_reference=?'
#XXX This is overwritten just below
a
(
partition
[
'reference'
])
# q += ' WHERE reference=? AND computer_reference=?'
a
(
partition
[
'computer_reference'
])
# a(partition['reference'])
# a(partition['computer_reference'])
# Update slave_instance_list in database
# Update slave_instance_list in database
args
=
[]
args
=
[]
a
=
args
.
append
a
=
args
.
append
...
...
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