fluent-plugin-nais 0.31.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dc9e2362edd09cccb62c9c8c7b001bdd0284778
|
4
|
+
data.tar.gz: a63075ef1f0652c47aeaab69a0159ebc1f2ca45e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e054b9727f027f50c78c95bf6ac6ccfcfdfa9f3e25e845fcb26e0ac1fe3b54364a14566c91a264170a06fce649aca7c79c79e5056ee8278bedc3c257f2af35
|
7
|
+
data.tar.gz: 91dfed1c4ee5de6ebea7d9219188601f98fbc0437dd02e615e43e2ce5b67ea0008b47972a7042321a13009a6342b647c866f6a5f65a100a53964f41cef9d44df
|
@@ -24,7 +24,9 @@ module Fluent::Plugin
|
|
24
24
|
if record["kubernetes"]["labels"].is_a?(Hash)
|
25
25
|
unless @labels.nil? || @labels == ""
|
26
26
|
@labels.split(',').each {|label|
|
27
|
-
record[label
|
27
|
+
if record["kubernetes"]["labels"].has_key?(label) && !record["kubernetes"]["labels"][label].nil? && record["kubernetes"]["labels"][label] != ""
|
28
|
+
record[label] = record["kubernetes"]["labels"][label]
|
29
|
+
end
|
28
30
|
}
|
29
31
|
end
|
30
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-nais
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Terje Sannum
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|