X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e5fd3db8efdd8e6b8f65d81663ae65964b64c206..36cfafd6e7eae2784c22aefdd9df26783412d42a:/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 9baf82795f..be463b022c 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'