fluent-plugin-nais 0.10.3 → 0.10.4

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: 1d0f6ed8a96d94f54bfa642bf3f4b3a5100f598e
4
- data.tar.gz: 50868f743c00c330aa57cd9764797aa218791688
3
+ metadata.gz: efd6c4b5fc295adc8334c6756f51f15aae0a35c1
4
+ data.tar.gz: 21c0501ef698f9239ba29e8fbf046823e9102a97
5
5
  SHA512:
6
- metadata.gz: 8804dd6f1b746f27fab57f2c1c1054853cd26b4be9e4081b6b6da13b8f194fce68583c598dcef681e632293f5d6f13361faee99615ee79ddeaf4b06f03b8f390
7
- data.tar.gz: 311180c5c48fd7f2e513d363d2d90e38d4722cb0f55972cbb391477f46c4ff9c5b95ca3fe93db42d64a3dbf9bf33359d23cd04b0ddc2fe079007fb58c9004a13
6
+ metadata.gz: 4a7f5eafeeca1d7d8ce9a1f58ba50c062471efdd7f32b2ed5fb77c4201d663d48d52f2db18ec8ab999e2a1044f0c777b9e363f9dd49bb1c5624a3b4efbddebaa
7
+ data.tar.gz: 6ee4952d69bc0f9616f7aa59201952e62dfd959386394d94d82b1bd236c13effcea8fae7d8cbcaf0f147074c05ad19f9b083a5e5d320332e38b8f248c98949c6
@@ -24,9 +24,11 @@ module Fluent::Plugin
24
24
  end
25
25
  elsif fmt == 'accesslog_with_processing_time'
26
26
  r = ::Nais::Log::Parser.parse_accesslog_with_processing_time(record['log'])
27
- r['log'] = r.delete('request') unless r.nil?
28
- level = ::Nais::Log::Parser.loglevel_from_http_response(r['response_code'])
29
- r['level'] = level unless level.nil?
27
+ unless r.nil?
28
+ r['log'] = r.delete('request')
29
+ level = ::Nais::Log::Parser.loglevel_from_http_response(r['response_code'])
30
+ r['level'] = level unless level.nil?
31
+ end
30
32
  elsif fmt == 'glog'
31
33
  r = ::Nais::Log::Parser.parse_glog(record['log'])
32
34
  unless r.nil?
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Nais
4
- VERSION = "0.10.3"
4
+ VERSION = "0.10.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-nais
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terje Sannum