20470: Remove locks on containers table
[arvados.git] / services / api / app / controllers / arvados / v1 / containers_controller.rb
index 20e7d6272e1e1c1d0deafa94272fddb39b755e6f..b7dc0302299227791451d0ea6e60198e93cf08b2 100644 (file)
@@ -28,12 +28,6 @@ class Arvados::V1::ContainersController < ApplicationController
     show
   end
 
-  def update
-    @object.with_lock do
-      super
-    end
-  end
-
   def find_objects_for_index
     super
     if action_name == 'lock' || action_name == 'unlock'
@@ -59,7 +53,6 @@ class Arvados::V1::ContainersController < ApplicationController
   end
 
   def update_priority
-    @object.reload(lock: true)
     @object.update_priority!
     show
   end