diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-06 23:46:31 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-06 23:46:31 +0300 |
commit | ebb5d9f4db3c2d5818f5efda1b09fcd1be7285e8 (patch) | |
tree | 5d51a48a32a92fdedf7b907a32caa172d1c0d923 /spec/lib/gitlab/json_logger_spec.rb | |
parent | 3560b11922fd180eea5cafd0e763e0e601c5c4ee (diff) |
Revert "Prefer to use correlation-id in logs"
This reverts commit 3560b11922fd180eea5cafd0e763e0e601c5c4ee.
Diffstat (limited to 'spec/lib/gitlab/json_logger_spec.rb')
-rw-r--r-- | spec/lib/gitlab/json_logger_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/json_logger_spec.rb b/spec/lib/gitlab/json_logger_spec.rb index 706601fe98f..cff7dd58c8c 100644 --- a/spec/lib/gitlab/json_logger_spec.rb +++ b/spec/lib/gitlab/json_logger_spec.rb @@ -18,7 +18,7 @@ describe Gitlab::JsonLogger do expect(data['severity']).to eq('INFO') expect(data['time']).to eq(now.utc.iso8601(3)) expect(data['message']).to eq('Hello world') - expect(data['correlation-id']).to eq('new-correlation-id') + expect(data['correlation_id']).to eq('new-correlation-id') end it 'formats hashes' do @@ -29,7 +29,7 @@ describe Gitlab::JsonLogger do expect(data['time']).to eq(now.utc.iso8601(3)) expect(data['hello']).to eq(1) expect(data['message']).to be_nil - expect(data['correlation-id']).to eq('new-correlation-id') + expect(data['correlation_id']).to eq('new-correlation-id') end end end |