fluent-plugin-grafana-loki 1.2.5 → 1.2.6

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: d3d04bae9d5bcc3e64027cc5c97f8477c88a6697bac2701de0f4de30b35d21ba
4
- data.tar.gz: 53584d4d125a32a139e4a7e6b4887c7b5fa29338696221fc743f31b7e2f24cc8
3
+ metadata.gz: 92dcfaa27b20c9e787b9900e77eb2328c480e9d71568dbc0aa7479eef9cfbdd2
4
+ data.tar.gz: d52c46ac206c1052fbaeff2c2108281aeaf3430d6d3002bb34a08eb488b72d51
5
5
  SHA512:
6
- metadata.gz: ab73ad92f6a92fe2f339c0b7b57efaf054d5ae2a918a74b29d8146c41d892c0c0147e3d1e55b2f7a58640b6de828c7c461e4ba9e9d71fed1884dcb9d61dd4363
7
- data.tar.gz: 3d3c43845dc9b15a416caeb316d2a768ee5877f2745c290e913cebc89fb73ebbaf3de5fb4f2d1ecac72d5ee8e065f748aa84f3c6cb9dc58224b0a2ffb98c152c
6
+ metadata.gz: c8184170c032110110edd8c479883499b6bbb168f4a9034a240b44ae4299d8209ead6efeb2a7bb0bffa02d01d3ce04d172401d733b751343e3425ac4dc2037c2
7
+ data.tar.gz: 4d8a06898715f6e1ae3311999529d75e51758c23a4718231da8674aae78c4625427d6e832e58fb70629d2a69282f68b4057bdeff416890daad08ae3f0307b148
@@ -195,7 +195,7 @@ module Fluent
195
195
  data_labels = {} if data_labels.nil?
196
196
  data_labels = data_labels.merge(@extra_labels)
197
197
  # sanitize label values
198
- data_labels.each { |k, v| formatted_labels[k] = v.gsub('"', '\\"') if v }
198
+ data_labels.each { |k, v| formatted_labels[k] = v.gsub('"', '\\"') if v && v&.is_a?(String) }
199
199
  formatted_labels
200
200
  end
201
201
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-grafana-loki
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - woodsaj
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-12-05 00:00:00.000000000 Z
13
+ date: 2020-01-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler