We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 201d324 commit 0d1e647Copy full SHA for 0d1e647
1 file changed
app/lib/client/resources/ecs.rb
@@ -65,14 +65,18 @@ def initialize
65
}
66
end
67
68
- @client.list_tasks(cluster: UC3::UC3Client.cluster_name, max_results: 100).task_arns.each do |task_arn|
+ arns = @client.list_tasks(cluster: UC3::UC3Client.cluster_name, max_results: 100).task_arns
69
+ puts arns.inspect
70
+ arns.each do |task_arn|
71
id = task_arn.split('/').last
- task = {id: id}
72
+ puts "Task id: #{id}"
73
+ task = { id: id }
74
@tasks[id] = task
75
@client.describe_tasks(
76
cluster: UC3::UC3Client.cluster_name,
77
tasks: [id]
78
).tasks.each do |task|
79
+ puts task.inspect
80
@tasks[id] = {
81
id: id,
82
name: task.group,
0 commit comments