[ARVADOS] updated: 3aaf11c2dd372b5d34ba317a1a4b761d263f86d6
git at public.curoverse.com
git at public.curoverse.com
Thu May 8 13:04:51 EDT 2014
Summary of changes:
services/api/app/models/pipeline_instance.rb | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
via 3aaf11c2dd372b5d34ba317a1a4b761d263f86d6 (commit)
from eed7af8f901adb263c870a2277ec166467a28d77 (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 3aaf11c2dd372b5d34ba317a1a4b761d263f86d6
Author: radhika <radhika at curoverse.com>
Date: Thu May 8 13:02:55 2014 -0400
2352: when a running pipeline_instance is stopped in workbench, put it in Paused state.
Similar behavior as when run with --run-here at command prompt.
diff --git a/services/api/app/models/pipeline_instance.rb b/services/api/app/models/pipeline_instance.rb
index 5993f99..2be4a06 100644
--- a/services/api/app/models/pipeline_instance.rb
+++ b/services/api/app/models/pipeline_instance.rb
@@ -176,7 +176,10 @@ class PipelineInstance < ArvadosModel
self.state = RunningOnServer
end
else
- if self.components_look_ready?
+ if self.state == RunningOnServer # state was RunningOnServer
+ self.active = nil
+ self.state = Paused
+ elsif self.components_look_ready?
self.state = Ready
else
self.state = New
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list