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
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
a192f97c
Commit
a192f97c
authored
Sep 21, 2022
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
Mar 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio_api_style: Fix Update Software Instance
parent
5ce1155e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
master/bt5/slapos_jio_api_style/SkinTemplateItem/portal_skins/slapos_jio_api/SoftwareInstance_updateFromDict.py
...l_skins/slapos_jio_api/SoftwareInstance_updateFromDict.py
+1
-1
No files found.
master/bt5/slapos_jio_api_style/SkinTemplateItem/portal_skins/slapos_jio_api/SoftwareInstance_updateFromDict.py
View file @
a192f97c
...
@@ -35,7 +35,7 @@ if "reported_state" in data_dict:
...
@@ -35,7 +35,7 @@ if "reported_state" in data_dict:
error_message
=
"Unexcepected Reported State: %s"
%
reported_state
,
error_message
=
"Unexcepected Reported State: %s"
%
reported_state
,
)
)
if
"requested_instance_list"
:
if
"requested_instance_list"
in
data_dict
:
software_instance
.
updateRequestedInstanceList
(
data_dict
[
"requested_instance_list"
])
software_instance
.
updateRequestedInstanceList
(
data_dict
[
"requested_instance_list"
])
if
"title"
in
data_dict
and
data_dict
[
"title"
]
!=
software_instance
.
getTitle
():
if
"title"
in
data_dict
and
data_dict
[
"title"
]
!=
software_instance
.
getTitle
():
...
...
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