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
Thomas Gambier
slapos.core
Commits
1274b161
Commit
1274b161
authored
8 years ago
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapproxy: allow to update software release of partition (upgrade instance)
parent
785995d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
slapos/proxy/views.py
slapos/proxy/views.py
+5
-0
No files found.
slapos/proxy/views.py
View file @
1274b161
...
@@ -584,6 +584,11 @@ def requestNotSlave(software_release, software_type, partition_reference, partit
...
@@ -584,6 +584,11 @@ def requestNotSlave(software_release, software_type, partition_reference, partit
a
(
partition_id
)
a
(
partition_id
)
if
not
software_type
:
if
not
software_type
:
software_type
=
'RootSoftwareInstance'
software_type
=
'RootSoftwareInstance'
else
:
# XXX Check if software_release should be updated
if
partition
[
'software_release'
].
encode
()
!=
software_release
:
q
+=
' ,software_release=?'
a
(
software_release
)
#
#
# XXX change software_type when requested
# XXX change software_type when requested
...
...
This diff is collapsed.
Click to expand it.
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