lib/hako/schedulers/ecs.rb in hako-1.3.3 vs lib/hako/schedulers/ecs.rb in hako-1.4.0

- old
+ new

@@ -355,11 +355,11 @@ # @return [Array<Boolean] def task_definition_changed?(desired_definitions, actual_definition) if @force return true end - if !actual_definition + unless actual_definition # Initial deployment return true end container_definitions = {} actual_definition.container_definitions.each do |c| @@ -484,9 +484,10 @@ command: container.command, privileged: container.privileged, volumes_from: container.volumes_from, user: container.user, log_configuration: container.log_configuration, + ulimits: container.ulimits, } end # @param [Aws::ECS::Types::TaskDefinition] task_definition # @param [Array<String>] commands