fluent-plugin-kubernetes_metadata_filter 0.8.0 → 0.9.0

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
  SHA1:
3
- metadata.gz: 0a755b41035ee8c71bc85992f9fec3cff0c1ff1d
4
- data.tar.gz: 43d8338dd326aec66933ebc2e00313e4629e586e
3
+ metadata.gz: 3692100ccc53b2ec7d4665075b6be69a1c7d842f
4
+ data.tar.gz: 04a6184a07bd7964cbfb242787d4933ad1adc12a
5
5
  SHA512:
6
- metadata.gz: f12e9cdbf8a8079fd4eb117888961d79d2f43793ed9909d7bb9531fc23e5c773cad818f8517bf9ecae2d7b9c0bb0daca33f7ad25137afdc2bf1b21e396b98779
7
- data.tar.gz: 30be9f34cbfcb997fbddf8e2fd7c70905ef43cdd5980b6a2ecb03ed77adc62710407a3fb8e42f9b73ea6c93745c8544cdd21d3e8c37303ee19a0a783e10130e1
6
+ metadata.gz: a5e7cf199299a8824218a906fe25c8d32378fab859cfdd7768bd920e7084e0a024b0c7ce07bf6dfdbed1b8cd3a1a02c2b47e3032f4fcc582d8a53c555c58cc1b
7
+ data.tar.gz: 91eed13731d61c72dfaa68132a51a74aafacff32427e44e4ee43946a2ea1b8c861a9962ae36aa882321a5f3a07d518d9727e5812894fbea1d826f05614be6c3e
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "fluent-plugin-kubernetes_metadata_filter"
7
- gem.version = "0.8.0"
7
+ gem.version = "0.9.0"
8
8
  gem.authors = ["Jimmi Dyson"]
9
9
  gem.email = ["jimmidyson@gmail.com"]
10
10
  gem.description = %q{Filter plugin to add Kubernetes metadata}
@@ -123,7 +123,7 @@ module Fluent
123
123
  }
124
124
 
125
125
  if @kubernetes_url.present?
126
- cache_key = "#{metadata['namespace']}_#{metadata['pod_name']}_#{metadata['pod_container_name']}"
126
+ cache_key = "#{metadata[:kubernetes][:namespace]}_#{metadata[:kubernetes][:pod_name]}_#{metadata[:kubernetes][:container_name]}"
127
127
 
128
128
  if cache_key.present?
129
129
  this = self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-kubernetes_metadata_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmi Dyson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-24 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd