[ARVADOS] updated: 8a56164a8a9d3c7b3b58df77d1e5aa3f1d6cad12
Git user
git at public.curoverse.com
Thu Jun 2 15:07:33 EDT 2016
Summary of changes:
apps/workbench/app/models/proxy_work_unit.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 8a56164a8a9d3c7b3b58df77d1e5aa3f1d6cad12 (commit)
from 20d912bf005dcb170048a1c9167d484c91a1f8e6 (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 8a56164a8a9d3c7b3b58df77d1e5aa3f1d6cad12
Author: radhika <radhika at curoverse.com>
Date: Thu Jun 2 15:07:15 2016 -0400
8876: success? includes Canceled as well.
diff --git a/apps/workbench/app/models/proxy_work_unit.rb b/apps/workbench/app/models/proxy_work_unit.rb
index 1cf92e2..5d3ecab 100644
--- a/apps/workbench/app/models/proxy_work_unit.rb
+++ b/apps/workbench/app/models/proxy_work_unit.rb
@@ -68,7 +68,7 @@ class ProxyWorkUnit < WorkUnit
state = get(:state)
if state == 'Complete'
true
- elsif state == 'Failed'
+ elsif state == 'Failed' or state == 'Cancelled'
false
else
nil
@@ -126,7 +126,7 @@ class ProxyWorkUnit < WorkUnit
state = get(:state)
if state == 'Complete'
return 1.0
- elsif state == 'Failed' or state== 'Cancelled'
+ elsif state == 'Failed' or state == 'Cancelled'
return 0.0
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list