16602: Workbench sets container_image from acrContainerImage
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 26 Aug 2020 19:44:59 +0000 (15:44 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Fri, 28 Aug 2020 20:05:18 +0000 (16:05 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

apps/workbench/app/controllers/work_units_controller.rb

index 8c4e5e7d9f3f5c64ebb04e4175710c46eefab4ff..ba2f66abe43831052312a7704e7e2d5229fd908c 100644 (file)
@@ -117,6 +117,9 @@ class WorkUnitsController < ApplicationController
               if hint[:keep_cache]
                 keep_cache = hint[:keep_cache]
               end
+              if hint[:acrContainerImage]
+                attrs['container_image'] = hint[:acrContainerImage]
+              end
             end
           end
         end