[ARVADOS] updated: e7ebb0cb4f642fbb2297e1ed54591244cc886f81
git at public.curoverse.com
git at public.curoverse.com
Sat May 10 14:30:58 EDT 2014
Summary of changes:
services/api/app/models/pipeline_instance.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via e7ebb0cb4f642fbb2297e1ed54591244cc886f81 (commit)
from 8dea7244cf5e50b9fa70bec15b1db3fd2cdd03bf (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 e7ebb0cb4f642fbb2297e1ed54591244cc886f81
Author: radhika <radhika at curoverse.com>
Date: Sat May 10 14:26:31 2014 -0400
2352: log statement to include uuid if either active or success found in changed attributes.
diff --git a/services/api/app/models/pipeline_instance.rb b/services/api/app/models/pipeline_instance.rb
index cea0ff6..8eb0b9b 100644
--- a/services/api/app/models/pipeline_instance.rb
+++ b/services/api/app/models/pipeline_instance.rb
@@ -166,7 +166,7 @@ class PipelineInstance < ArvadosModel
return false
end
elsif 'success'.in? changed_attributes
- logger.info "pipeline_instance changed_attributes for success"
+ logger.info "pipeline_instance changed_attributes has success for #{self.uuid}"
if self.success
self.active = false
self.state = Complete
@@ -175,7 +175,7 @@ class PipelineInstance < ArvadosModel
self.state = Failed
end
elsif 'active'.in? changed_attributes
- logger.info "pipeline_instance changed_attributes for active"
+ logger.info "pipeline_instance changed_attributes has active for #{self.uuid}"
if self.active
if self.state.in? [New, Ready, Paused]
self.state = RunningOnServer
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list