diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-06 20:49:31 +0100 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-12-06 20:49:31 +0100 |
commit | 3560b11922fd180eea5cafd0e763e0e601c5c4ee (patch) | |
tree | 6d9c0c285ec80bf983f750937d9c888bfa0283b0 /spec/lib/gitlab/sidekiq_logging | |
parent | 39c1731a53d1014eab7c876d70632b1abf738712 (diff) | |
download | gitlab-ce-3560b11922fd180eea5cafd0e763e0e601c5c4ee.tar.gz |
Prefer to use correlation-id in logs
This changes `correlation_id` to be `correlation-id` when passed via jobs
Diffstat (limited to 'spec/lib/gitlab/sidekiq_logging')
-rw-r--r-- | spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb b/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb index f773f370ee2..7484593268c 100644 --- a/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb +++ b/spec/lib/gitlab/sidekiq_logging/structured_logger_spec.rb @@ -13,7 +13,7 @@ describe Gitlab::SidekiqLogging::StructuredLogger do "jid" => "da883554ee4fe414012f5f42", "created_at" => timestamp.to_f, "enqueued_at" => timestamp.to_f, - "correlation_id" => 'cid' + "correlation-id" => 'cid' } end let(:logger) { double() } |