fluent-plugin-mutate_filter 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-mutate_filter.gemspec +1 -1
- data/lib/fluent/plugin/filter_mutate.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db927fe75f56601c192cfa5fd529914924e5687657a378689f6f8592bf5086e3
|
4
|
+
data.tar.gz: 1ff7de058212f4a1fe40b7551aaba991bb639adc1f826ebdc1c2d9c32f330842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22493004009aec2f36b024b9e6974420f2adf2afa22440ca94c824510beb8bf943d8c72b2f0aaa7725af303d25aa60654da0180262b67928ebe9eff8563f409f
|
7
|
+
data.tar.gz: 87685349ff798b6e423d125fd23709d0e195d11d00d55826de8094142fd2d293405f18c5db5735cde2a98bf3372a1ac552010407198b056e7ab8aadeb8a81a1b
|
@@ -439,8 +439,8 @@ module Fluent
|
|
439
439
|
next
|
440
440
|
end
|
441
441
|
|
442
|
-
if value.start_with?('{') and value.end_with?('}') \
|
443
|
-
or value.start_with?('[') and value.end_with?(']')
|
442
|
+
if (value.start_with?('{') and value.end_with?('}')) \
|
443
|
+
or (value.start_with?('[') and value.end_with?(']'))
|
444
444
|
value = JSON.load(value)
|
445
445
|
event.set(field, value)
|
446
446
|
end
|