gitlab-labkit 0.30.1 → 0.31.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
  SHA256:
3
- metadata.gz: b1307834ccc43bf7c67a2869284eb88596f8bc179aa23ffc54850c3094cb1e92
4
- data.tar.gz: bf1e7c8464a5d6412673b98e957e7d725fce091408f9e79ab0eebead46afd432
3
+ metadata.gz: 3269b7b18f723ade60333e9e3d40216fde75dc5e1ab338d5970be043ee0b4146
4
+ data.tar.gz: 344f0595a78eaf3ae471fbc569d9abb43bb190de9423e351681ea5a0243f5bd8
5
5
  SHA512:
6
- metadata.gz: 668d57c1c15b3e54dda7fa7906de490494725d07854d6ae60118a2973b2c51034a35e12765ab66a805d73d5e664c866574ae3e0d4c247b97355c87caabe25954
7
- data.tar.gz: 04cde34debf83ad8fe76bf3207c99a8f83bbee367e0c9636f717f710286b4423ef66894e4803a99f21c0843518a49fc222e554389decd3348f7aea9a392eab22
6
+ metadata.gz: 3921f2408e5c7c33f20b82ca43825f5818c4b843aba4ab5b0ac99cb3a361dafa9884c39c03c1706a2890a58ac8d39ddcff84e5bf9b417c8a5f70d03d2177762d
7
+ data.tar.gz: 016b1990785aab0f54e16cbf97335931467d308c9169057796da64272941f8dd0c082ff01022f655cb590a52888b4473f18a41c50451d0b8a9abf56dc6ce822e
@@ -31,7 +31,7 @@ module Labkit
31
31
  data = default_attributes
32
32
  data[:severity] = severity
33
33
  data[:time] = timestamp.utc.iso8601(3)
34
- data[Labkit::Correlation::CorrelationId::LOG_KEY] = Labkit::Correlation::CorrelationId.current_id
34
+ data.merge!(Labkit::Context.current.to_h)
35
35
 
36
36
  case message
37
37
  when String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-labkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.1
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newdigate