We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3714e15 commit afaa1aaCopy full SHA for afaa1aa
.gitignore
@@ -0,0 +1 @@
1
+.idea
ecs_run.rb
@@ -92,7 +92,7 @@
92
raise 'No container found.' unless container_name
93
94
network_configuration_source =
95
- if service.deployments.length.positive?
+ if service.deployments&.length.to_i.positive?
96
service.deployments[0]
97
elsif service.task_sets.length.positive?
98
service.task_sets[0]
0 commit comments