projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d51c716
)
Fix crash when pipeline template is not readable. refs #10003
author
Tom Clegg <tom@curoverse.com>
Mon, 12 Sep 2016 20:53:55 +0000
(16:53 -0400)
committer
Tom Clegg <tom@curoverse.com>
Mon, 12 Sep 2016 20:53:55 +0000
(16:53 -0400)
apps/workbench/app/models/pipeline_instance.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/models/pipeline_instance.rb
b/apps/workbench/app/models/pipeline_instance.rb
index 0541ce5d1792aee37fd6c40303a589a5637c128c..62bbc5431937e6a4b89826a3f03e2cda5c37ff27 100644
(file)
--- a/
apps/workbench/app/models/pipeline_instance.rb
+++ b/
apps/workbench/app/models/pipeline_instance.rb
@@
-13,7
+13,7
@@
class PipelineInstance < ArvadosBase
template = if lookup and lookup[self.pipeline_template_uuid]
lookup[self.pipeline_template_uuid]
else
- PipelineTemplate.find(self.pipeline_template_uuid) if self.pipeline_template_uuid
+ PipelineTemplate.find
?
(self.pipeline_template_uuid) if self.pipeline_template_uuid
end
if template
template.name