aws_pocketknife 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws_pocketknife/cli/ecs.rb +2 -2
- data/lib/aws_pocketknife/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 047374890ec1620d7fa03d2dcc10920a6589cf55
|
4
|
+
data.tar.gz: 9e8957c32ab921c8d22c4c5f167cc81989a869f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 713d9abdb2330fec96222a33e828d33de7840532b8c07108a45597f10e2691ad9b24268023e65c4af596ab30fa61662cc80250987c42f25c0eb3a76ff40dc003
|
7
|
+
data.tar.gz: 3026fd8acaa1fa65b215bd671f360d9f68eca9ef727fb698ee0de5f0f5dfa7235615ac74c6832d8cb8598fa2384db4393eb7d4a043e4ef83a10637dee7406210
|
@@ -45,8 +45,8 @@ module AwsPocketknife
|
|
45
45
|
info.deployment_configuration.maximum_percent, info.deployment_configuration.minimum_healthy_percent,
|
46
46
|
task_def.cpu, task_def.memory, task_def.memory_reservation
|
47
47
|
]
|
48
|
-
cpu_total = cpu_total + task_def.cpu
|
49
|
-
mem_total = mem_total + task_def.memory
|
48
|
+
cpu_total = cpu_total + task_def.cpu unless task_def.cpu.nil?
|
49
|
+
mem_total = mem_total + task_def.memory unless task_def.memory.nil?
|
50
50
|
mem_res_total = (mem_res_total + task_def.memory_reservation) unless task_def.memory_reservation.nil?
|
51
51
|
end
|
52
52
|
puts ""
|