[ARVADOS] updated: 1.1.1-59-gbc5d3ce

Git user git at public.curoverse.com
Fri Dec 1 10:09:19 EST 2017


Summary of changes:
 services/api/app/models/container.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  bc5d3ce17a0b3672b4ff2c24623febc549bdebe5 (commit)
      from  77a6645f2a8710a22a43909469077122834c93e6 (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 bc5d3ce17a0b3672b4ff2c24623febc549bdebe5
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Fri Dec 1 10:09:02 2017 -0500

    12574: Rename update_priority to propagate_priority
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/services/api/app/models/container.rb b/services/api/app/models/container.rb
index 15d9725..466adc0 100644
--- a/services/api/app/models/container.rb
+++ b/services/api/app/models/container.rb
@@ -31,7 +31,7 @@ class Container < ArvadosModel
   after_validation :assign_auth
   before_save :sort_serialized_attrs
   after_save :handle_completed
-  after_save :update_priority
+  after_save :propagate_priority
 
   has_many :container_requests, :foreign_key => :container_uuid, :class_name => 'ContainerRequest', :primary_key => :uuid
   belongs_to :auth, :class_name => 'ApiClientAuthorization', :foreign_key => :auth_uuid, :primary_key => :uuid
@@ -94,7 +94,7 @@ class Container < ArvadosModel
     end
   end
 
-  def update_priority
+  def propagate_priority
     if self.priority_changed?
       act_as_system_user do
          # Update the priority of child container requests to match new priority

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list