From 70eec032b5c5e20289f72a4c47c7b9dac06fad71 Mon Sep 17 00:00:00 2001 From: Stefan Weiz Date: Fri, 25 Nov 2016 15:15:18 +0100 Subject: [PATCH] Renames correlation-id key in HTTP header --- composition/fetch_definition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composition/fetch_definition.go b/composition/fetch_definition.go index db56cfc..fb5c59a 100644 --- a/composition/fetch_definition.go +++ b/composition/fetch_definition.go @@ -210,7 +210,7 @@ func copyHeaders(src, dest http.Header, whitelist []string) http.Header { } //Set the correlation-id in the http header, so the services will retrieve and use it for further logging - dest.Add("correlation_id", logging.GetCorrelationId(dest)) + dest.Add("X-Correlation-Id", logging.GetCorrelationId(dest)) return dest }