herdst_worker 0.2.6 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/herdst_worker/configuration/metadata.rb +2 -2
- data/lib/herdst_worker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 900944cbc8e142a33165f163ec11ca8feb5600ec273dd4682b4ae8b1981eb170
|
4
|
+
data.tar.gz: 65d027f53b6c501d2c392800cffa9e1a312dc3c75d44ccc611e3e747e5105d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbff474537dd0812301e7fc4f7f05d11f0946449b0c674c3e0d3b67befbbc90ac74bfb4bd426ace5d53824fa73222e422919ee9d6e388c19aaa026b96e531e81
|
7
|
+
data.tar.gz: e849b9fe1f607b88aeb11c1da0dc180ba2faecf966a9756509af264de369b2f906bd0e3db3e9dc3c780bbf5108753f0387ffef85224fdddd9e5ba7522f605c80
|
@@ -82,7 +82,7 @@ module HerdstWorker
|
|
82
82
|
|
83
83
|
def get_services_info
|
84
84
|
info = self.get_tasks_info
|
85
|
-
|
85
|
+
|
86
86
|
ecs_client = Aws::ECS::Client.new(
|
87
87
|
:region => self.secrets["AWS_REGION"],
|
88
88
|
:credentials => self.aws_credentials
|
@@ -91,7 +91,7 @@ module HerdstWorker
|
|
91
91
|
ecs_client.describe_services({
|
92
92
|
:cluster => info["tasks"][0]["cluster_arn"],
|
93
93
|
:services => [
|
94
|
-
info["tasks"][0]["group"].sub("
|
94
|
+
info["tasks"][0]["group"].to_s.sub("service:", "")
|
95
95
|
],
|
96
96
|
:include => ["TAGS"]
|
97
97
|
})
|