Merge pull request #2054 from wwitzel3/release_3.3.0

Only duplicate nodes if original WFJT is not available
This commit is contained in:
Wayne Witzel III
2018-06-05 09:22:41 -04:00
committed by GitHub

View File

@@ -288,7 +288,8 @@ class WorkflowJobOptions(BaseModel):
def create_relaunch_workflow_job(self):
new_workflow_job = self.copy_unified_job()
new_workflow_job.copy_nodes_from_original(original=self)
if self.workflow_job_template is None:
new_workflow_job.copy_nodes_from_original(original=self)
return new_workflow_job