20846: Update kwargs usage for ruby 3.
[arvados.git] / services / api / app / models / container.rb
index ca43fde5a90d67aef3c263fafe6e827292b05271..ee338b81ffedad646854cd4b55998937551ffa59 100644 (file)
@@ -319,7 +319,7 @@ class Container < ArvadosModel
         resolved_runtime_constraints.delete('cuda')
       ].uniq
     end
-    reusable_runtime_constraints = hash_product(runtime_constraint_variations)
+    reusable_runtime_constraints = hash_product(**runtime_constraint_variations)
                                      .map { |v| resolved_runtime_constraints.merge(v) }
 
     candidates = candidates.where_serialized(:runtime_constraints, reusable_runtime_constraints, md5: true, multivalue: true)