Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
64706d92
Commit
64706d92
authored
May 14, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fetch URL only once.
parent
dffafc68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
master/bt5/vifib_slapos_core/WorkflowTemplateItem/portal_workflow/instance_slap_interface_workflow/scripts/RequesterInstance_request.xml
..._interface_workflow/scripts/RequesterInstance_request.xml
+3
-2
master/bt5/vifib_slapos_core/bt/revision
master/bt5/vifib_slapos_core/bt/revision
+1
-1
No files found.
master/bt5/vifib_slapos_core/WorkflowTemplateItem/portal_workflow/instance_slap_interface_workflow/scripts/RequesterInstance_request.xml
View file @
64706d92
...
@@ -160,7 +160,8 @@ promise_kw = {\n
...
@@ -160,7 +160,8 @@ promise_kw = {\n
\'software_release\': software_release_url_string,\n
\'software_release\': software_release_url_string,\n
\'shared\': is_slave,\n
\'shared\': is_slave,\n
}\n
}\n
context.REQUEST.set(\'request_instance\', request_software_instance.getRelativeUrl())\n
request_software_instance_url = request_software_instance.getRelativeUrl()\n
context.REQUEST.set(\'request_instance\', request_software_instance_url)\n
if (root_state == "started"):\n
if (root_state == "started"):\n
request_software_instance.requestStart(**promise_kw)\n
request_software_instance.requestStart(**promise_kw)\n
elif (root_state == "stopped"):\n
elif (root_state == "stopped"):\n
...
@@ -171,7 +172,7 @@ elif (root_state == "destroyed"):\n
...
@@ -171,7 +172,7 @@ elif (root_state == "destroyed"):\n
else:\n
else:\n
raise ValueError, "state should be started, stopped or destroyed"\n
raise ValueError, "state should be started, stopped or destroyed"\n
\n
\n
predecessor_list = requester_instance.getPredecessorList() + [request_software_instance
.getRelativeUrl()
]\n
predecessor_list = requester_instance.getPredecessorList() + [request_software_instance
_url
]\n
\n
\n
assert predecessor_list == list(set(predecessor_list))\n
assert predecessor_list == list(set(predecessor_list))\n
\n
\n
...
...
master/bt5/vifib_slapos_core/bt/revision
View file @
64706d92
23
24
\ No newline at end of file
\ 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