Commit 1274b161 authored by Alain Takoudjou's avatar Alain Takoudjou

slapproxy: allow to update software release of partition (upgrade instance)

parent 785995d6
...@@ -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
......
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