[ARVADOS] updated: 2.1.0-57-g9429158c8

Git user git at public.arvados.org
Thu Oct 22 18:45:44 UTC 2020


Summary of changes:
 .../controllers/container_requests_controller.rb   | 63 +++++++++++++++++-----
 .../app/controllers/work_units_controller.rb       |  1 +
 apps/workbench/app/helpers/application_helper.rb   |  5 ++
 apps/workbench/app/models/container_request.rb     | 20 +++++++
 .../_extra_tab_line_buttons.html.erb               | 47 +++++-----------
 .../views/container_requests/_show_inputs.html.erb | 18 +++----
 .../container_requests_controller_test.rb          | 23 ++++----
 apps/workbench/test/integration/work_units_test.rb |  4 +-
 8 files changed, 112 insertions(+), 69 deletions(-)

       via  9429158c8ecf253a700c7eb4f87ad142a8e1522c (commit)
       via  4f8b6fc2dd343758b0ac2329db59fb62b0c6a736 (commit)
       via  e5fd3db8efdd8e6b8f65d81663ae65964b64c206 (commit)
       via  5a7fdde499ed5baa889a70fb9d1a0aef01eda22b (commit)
       via  2221946b2e7322f9680f5d9617ba98b620158c0d (commit)
       via  1008fd532fb9229b0fc0c1d9afb547bb6cfe4244 (commit)
       via  4513a54a9af3198be882d2f8f4be2260383efd7c (commit)
       via  801add452adb8804711ee10deff82243913fc9df (commit)
      from  34cb1075a924eb30f2f9d88ba74836043c60e73b (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 9429158c8ecf253a700c7eb4f87ad142a8e1522c
Merge: 34cb1075a 4f8b6fc2d
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Thu Oct 22 14:45:17 2020 -0400

    Merge branch '17010-re-run-workflow' refs #17010
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>


commit 4f8b6fc2dd343758b0ac2329db59fb62b0c6a736
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Thu Oct 22 14:44:37 2020 -0400

    17010: Use !! instead of (? true : false)
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/apps/workbench/app/controllers/container_requests_controller.rb b/apps/workbench/app/controllers/container_requests_controller.rb
index 9baf82795..be463b022 100644
--- a/apps/workbench/app/controllers/container_requests_controller.rb
+++ b/apps/workbench/app/controllers/container_requests_controller.rb
@@ -178,7 +178,7 @@ class ContainerRequestsController < ApplicationController
 
     if params[:use_existing] || params[:use_existing].nil?
       # If nil, reuse workflow steps but not the workflow runner.
-      @object.use_existing = (params[:use_existing] ? true : false)
+      @object.use_existing = !!params[:use_existing]
 
       # Pass the correct argument to arvados-cwl-runner command.
       if command[0] == 'arvados-cwl-runner'

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list