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
Léo-Paul Géneau
slapos.core
Commits
c01e072b
Commit
c01e072b
authored
May 28, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix state detection.
parent
6dd55384
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SoftwareInstance_getStatus.xml
...em/portal_skins/vifib_slap/SoftwareInstance_getStatus.xml
+6
-7
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
No files found.
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SoftwareInstance_getStatus.xml
View file @
c01e072b
...
...
@@ -63,16 +63,15 @@ else:\n
delivery = context.getCausalityValue()\n
delivery_state = delivery.getSimulationState()\n
if state == "start_requested":\n
if delivery_state in ["confirmed", "started"]:\n
return \'Start in progress\'\n
else:\n
if delivery_state == "started":\n
return \'Started\'\n
\n
elif state == "stop_requested":\n
if delivery_state in ["confirmed", "started"]:\n
return \'Stop in progress\'\n
else:\n
return \'Start in progress\' \n
elif state == "stop_requested":\n
if delivery_state == "stopped":\n
return \'Stopped\'\n
else:\n
return \'Stop in progress\'\n
\n
elif state in ["destroy_requested"]:\n
if has_partition:\n
...
...
master/bt5/vifib_slap/bt/revision
View file @
c01e072b
748
\ No newline at end of file
749
\ No newline at end of file
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