[ARVADOS] updated: 68518f469ff98c66338664a0d6919ac7e231b62b

git at public.curoverse.com git at public.curoverse.com
Thu Jun 19 13:14:34 EDT 2014


Summary of changes:
 services/api/app/models/collection.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  68518f469ff98c66338664a0d6919ac7e231b62b (commit)
      from  00949dacde511d4a3e077281b32e40e5b525c2b4 (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 68518f469ff98c66338664a0d6919ac7e231b62b
Author: Brett Smith <brett at curoverse.com>
Date:   Thu Jun 19 13:14:36 2014 -0400

    2879: Finish the Docker image sorting work of 71c66323.

diff --git a/services/api/app/models/collection.rb b/services/api/app/models/collection.rb
index 24e4ccc..e9be28b 100644
--- a/services/api/app/models/collection.rb
+++ b/services/api/app/models/collection.rb
@@ -189,7 +189,7 @@ class Collection < ArvadosModel
   end
 
   def self.for_latest_docker_image(search_term, search_tag=nil, readers=nil)
-    image_uuid = uuids_for_docker_image(search_term, search_tag, readers).last
+    image_uuid = uuids_for_docker_image(search_term, search_tag, readers).first
     if image_uuid.nil?
       nil
     else

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list