projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix (Time.now - nil) exception
[arvados.git]
/
app
/
models
/
pipeline_invocation.rb
diff --git
a/app/models/pipeline_invocation.rb
b/app/models/pipeline_invocation.rb
index 06e714d6ed196931fa3e748f0b3fb7894bdf3312..1c79182414b57ea301c87e8d944e75958631edd9 100644
(file)
--- a/
app/models/pipeline_invocation.rb
+++ b/
app/models/pipeline_invocation.rb
@@
-60,7
+60,7
@@
class PipelineInvocation < OrvosModel
end
def active
- success.nil? and Time.now - modified_at < 5.minutes
+ success.nil? and
modified_at and
Time.now - modified_at < 5.minutes
end
protected