[ARVADOS] updated: faf355bede4c4a9b01ef5658fa925cec6e4b503f
git at public.curoverse.com
git at public.curoverse.com
Fri May 9 16:25:47 EDT 2014
Summary of changes:
services/api/app/models/pipeline_instance.rb | 2 ++
1 file changed, 2 insertions(+)
via faf355bede4c4a9b01ef5658fa925cec6e4b503f (commit)
from 7c21045a213c5cc8846a263124271c93d38d78b1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit faf355bede4c4a9b01ef5658fa925cec6e4b503f
Author: radhika <radhika at curoverse.com>
Date: Fri May 9 16:24:31 2014 -0400
2352: add a info level log statement in pipeline_instance.rb if active or success flags are updated. The expection is that this should no longer happen.
diff --git a/services/api/app/models/pipeline_instance.rb b/services/api/app/models/pipeline_instance.rb
index e5bd464..24253bf 100644
--- a/services/api/app/models/pipeline_instance.rb
+++ b/services/api/app/models/pipeline_instance.rb
@@ -166,6 +166,7 @@ class PipelineInstance < ArvadosModel
return false
end
elsif 'success'.in? changed_attributes
+ logger.info "pipeline_instance changed_attributes for success"
if self.success
self.active = false
self.state = Complete
@@ -174,6 +175,7 @@ class PipelineInstance < ArvadosModel
self.state = Failed
end
elsif 'active'.in? changed_attributes
+ logger.info "pipeline_instance changed_attributes for active"
if self.active
if self.state.in? [New, Ready, Paused]
self.state = RunningOnServer
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list