15133: Move removing jobs API code+tests
[arvados.git] / services / api / app / models / collection.rb
index ac00e5d39c2cce78c1dd26cfca3fba285810b80e..292cf34ccb4da99e6a8fcca06cfe69dd2c637d69 100644 (file)
@@ -521,7 +521,7 @@ class Collection < ArvadosModel
       joins("JOIN collections ON links.head_uuid = collections.uuid").
       order("links.created_at DESC")
 
-    docker_image_formats = Rails.configuration.Containers.SupportedDockerImageFormats
+    docker_image_formats = Rails.configuration.Containers.SupportedDockerImageFormats.keys.map(&:to_s)
 
     if (docker_image_formats.include? 'v1' and
         docker_image_formats.include? 'v2') or filter_compatible_format == false