summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2018-12-07 23:57:56 +0200
committerStan Hu <stanhu@gmail.com>2018-12-07 14:36:33 -0800
commit6c426c0e393702d50a93afb7b712ef7a834f0384 (patch)
treee9b3a54f38efa8ec45370ba375bbdd0f061bafd1 /lib
parenta27ba8edfa6f41de135cf6f1573cc5366440f7b5 (diff)
downloadgitlab-ce-6c426c0e393702d50a93afb7b712ef7a834f0384.tar.gz
Rename the correlation field from `correlation_id` to `x-gitlab-correlation-id`
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/gitaly_client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb
index 255601382b1..11021ee06b3 100644
--- a/lib/gitlab/gitaly_client.rb
+++ b/lib/gitlab/gitaly_client.rb
@@ -193,7 +193,7 @@ module Gitlab
feature = feature_stack && feature_stack[0]
metadata['call_site'] = feature.to_s if feature
metadata['gitaly-servers'] = address_metadata(remote_storage) if remote_storage
- metadata['correlation_id'] = Gitlab::CorrelationId.current_id if Gitlab::CorrelationId.current_id
+ metadata['x-gitlab-correlation-id'] = Gitlab::CorrelationId.current_id if Gitlab::CorrelationId.current_id
metadata.merge!(server_feature_flags)