Skip to content

Commit

Permalink
Renames correlation-id key in HTTP header
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Weiz committed Nov 25, 2016
1 parent 5c883d5 commit 70eec03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composition/fetch_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 70eec03

Please sign in to comment.