Skip to content
Snippets Groups Projects
Commit 9cd83978 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Storing the previous execution's spool dir on the new version

parent 2a8deac6
No related branches found
No related tags found
1 merge request!1617WS-2227 Reusing rawdata directory
......@@ -784,6 +784,10 @@ class RestrictedInfo(CapabilityInfo):
current_version_files = request.current_version.files
# Store the previous execution's spool directory for reusing bits of it
if request.current_version and request.current_version.workflow_metadata:
parameters["prev_spool_dir"] = request.current_version.workflow_metadata["processing_dir"]
version = CapabilityVersion(
capability_request_id=request.id,
version_number=len(request.versions) + 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment