projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20846: Merge branch '19213-ubuntu2204-support' into 20846-ubuntu2204
[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..9fb534ec24f163cc6bfcb9e24a2cb2cffadd1937 100644
(file)
--- a/
apps/workbench/app/controllers/container_requests_controller.rb
+++ b/
apps/workbench/app/controllers/container_requests_controller.rb
@@
-83,7
+83,7
@@
class ContainerRequestsController < ApplicationController
@object.state = 'Final'
end
end
@object.state = 'Final'
end
end
- @object.update
_attributes
! priority: 0
+ @object.update! priority: 0
if params[:return_to]
redirect_to params[:return_to]
else
if params[:return_to]
redirect_to params[:return_to]
else
@@
-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'