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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69a6b8037b56c968110ba5faf884dba06e7657a183f29e54a579c895271d6fcd
4
- data.tar.gz: 14a40a92fe51da5820b3db3b6832b82d975a174d562f7863a899db49f050a36c
3
+ metadata.gz: 900944cbc8e142a33165f163ec11ca8feb5600ec273dd4682b4ae8b1981eb170
4
+ data.tar.gz: 65d027f53b6c501d2c392800cffa9e1a312dc3c75d44ccc611e3e747e5105d25
5
5
  SHA512:
6
- metadata.gz: 02ba88a9e9258a8b125f6a237b31d176e5ad99b23e1eaec5b7d7ece07124b24e2915f4f8d3d56f1491f978e85e5d282d71f04c3b5a0e6a1b135ca58e120bbcb4
7
- data.tar.gz: 2cc884209904ff5a829fb19c0fd3a5a66317fe76de7c4d8c313f112f6fb9f9b048cbb40779e7b72156e04ebd415084aa8f7b251a27a51849615d3ef0b3b7d6b5
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("services:")
94
+ info["tasks"][0]["group"].to_s.sub("service:", "")
95
95
  ],
96
96
  :include => ["TAGS"]
97
97
  })
@@ -1,3 +1,3 @@
1
1
  module HerdstWorker
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herdst_worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Herd.St