kubernetes-health 3.4.0 → 3.4.1

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: b50f5907432e2efafb49e0541ff792e1bfb086e0b5ced6f2c21308a20cf5e1e0
4
- data.tar.gz: 2ca4a7a600c71caf1704272c95bbb7d2c354d0bdd32e1eee778f10b39043ea90
3
+ metadata.gz: e002184325d2c508f38c8fc4c73532d748046664fcc65764e345d0119734d066
4
+ data.tar.gz: 85419dad18b1fe9df0d0fcdcbbf1686f0e7233497bc1685f2a1182baba7cceb8
5
5
  SHA512:
6
- metadata.gz: d633dc94b6e18c839cdb0658efc6fbcb3d924b73dc8fb23a14bdb4b6babcdd856d5ee6f0eccd2cd4bae24272b97678d5fab4fee4154493c1a11a196a37532a57
7
- data.tar.gz: c49e6472031a756436d3f17d6c3b1f2a736c3dcbdd1c63c13c0f980e200eff31d217bb44d48f8901eaecc90d75daef74c9a2261c0816e245977afa2755dd4c64
6
+ metadata.gz: 5b3cc913270ba83fda812e464bbcd3469e6949778059e707b6de62f4b2391747ade9f957c12062c0f98c42fbd0beb421403caed4c0bd6c15acc553edb917f560
7
+ data.tar.gz: b147c8e17cee0c3648116ac10eb1e9e6cfa89d1f78a5d03815629d2aa0d27b8b066fb4abcf70b6ea3b0595de36828911b8959c1cf2a0bd9f3077c0f9d1d8a6af
@@ -1,5 +1,5 @@
1
1
  module Kubernetes
2
2
  module Health
3
- VERSION = "3.4.0"
3
+ VERSION = "3.4.1"
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ module Puma
16
16
  begin
17
17
  req = ::Rack::Request.new(_env)
18
18
  type = {}
19
- content = []
19
+ content = ''
20
20
  type = ::Kubernetes::Health::Config.response_format == 'json' ? { 'Content-Type' => 'application/json' } : { 'Content-Type' => 'text/plain' }
21
21
  case req.path_info
22
22
  when ::Kubernetes::Health::Config.route_liveness
@@ -38,7 +38,7 @@ module Puma
38
38
  end
39
39
  rescue
40
40
  http_code = 500
41
- content = []
41
+ content = ''
42
42
  end
43
43
  ::Kubernetes::Health::Config.request_log_callback.call(req, http_code, content)
44
44
  [http_code, type, [content]]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes-health
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wagner Caixeta