lib/hako/schedulers/ecs.rb in hako-1.6.0 vs lib/hako/schedulers/ecs.rb in hako-1.6.1

- old
+ new

@@ -161,10 +161,11 @@ end @task = run_task(task_definition, commands, env) Hako.logger.info "Started task: #{@task.task_arn}" @scripts.each { |script| script.oneshot_started(self) } if no_wait - puts @task.task_arn + info = { cluster: @cluster, task_arn: @task.task_arn } + puts JSON.dump(info) 0 else wait_for_oneshot_finish end end