fluent-plugin-append-kubernetes-annotations-to-tag 0.1.0.pre.10 → 0.1.0.pre.11
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: 6d540c230a7919479c548b1512206fb991e82574
|
4
|
+
data.tar.gz: 94d56443535c398066e3bb4ebf55905da36a1b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbd834d915147d184ba603d55928ec69f2bda437a3326ad808370773fe680ecbccdbd04a1dfc03ea7b24a24ea2d947dbfa4e9fa1927b1ea85ce8c8d0e46c1d80
|
7
|
+
data.tar.gz: c53eef537e1b5a56f0aa728f87c5f80224b8b450f096c919e235187c1bde7437c478071bc7928157572460c8b9d701007d862175e4fe0760a33927e6284f410f
|
@@ -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-append-kubernetes-annotations-to-tag"
|
7
|
-
gem.version = "0.1.0-
|
7
|
+
gem.version = "0.1.0-11"
|
8
8
|
gem.authors = ["Redbubble Delivery Engineering Team"]
|
9
9
|
gem.email = ["delivery-engineers@redbubble.com"]
|
10
10
|
gem.description = %q{Plugin to append Kubernetes annotations to Fluentd tags}
|
@@ -13,12 +13,14 @@ module Fluent
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def emit(tag, es, chain)
|
16
|
-
chain.next
|
17
16
|
es.each do |time, record|
|
18
17
|
new_tag = process_tag(tag, record)
|
18
|
+
next if new_tag == tag
|
19
|
+
|
19
20
|
router.emit(new_tag, time, record)
|
20
21
|
end
|
21
22
|
|
23
|
+
chain.next
|
22
24
|
rescue => exception
|
23
25
|
log.error "Failed to re-format docker record #{tag}"
|
24
26
|
log.error exception
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-append-kubernetes-annotations-to-tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Redbubble Delivery Engineering Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|