projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17022-user-activity-report' refs #17022
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
container_requests_controller.rb
diff --git
a/apps/workbench/app/controllers/container_requests_controller.rb
b/apps/workbench/app/controllers/container_requests_controller.rb
index 9baf82795f0c0ee4bedabc688d7bf61fdfa973a0..be463b022cc6ed013ab652fba16140daf4e2d08d 100644
(file)
--- 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.
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'
# Pass the correct argument to arvados-cwl-runner command.
if command[0] == 'arvados-cwl-runner'