diff options
author | Vlad Uspensky <v.uspenskiy@icloud.com> | 2017-03-14 12:17:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-14 12:17:55 -0700 |
commit | d30510d9976f0e140646a476d523d1aaa63d8192 (patch) | |
tree | 99af43977a6661a1a2152237bb015c7804a01053 /src/main/scala/xyz/driver/core/rest.scala | |
parent | c4ccac2705346d2c150612783a53bf6df50fece7 (diff) | |
parent | 8c4ccfbb428d236799a0178867906a6fee800a1d (diff) | |
download | driver-core-d30510d9976f0e140646a476d523d1aaa63d8192.tar.gz driver-core-d30510d9976f0e140646a476d523d1aaa63d8192.tar.bz2 driver-core-d30510d9976f0e140646a476d523d1aaa63d8192.zip |
Merge pull request #24 from drivergroup/mdc-revisionv0.10.27
Added writing tracking Id to MDC so it can be logged for all messages…
Diffstat (limited to 'src/main/scala/xyz/driver/core/rest.scala')
-rw-r--r-- | src/main/scala/xyz/driver/core/rest.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/core/rest.scala b/src/main/scala/xyz/driver/core/rest.scala index 33e0f97..ebdb1b9 100644 --- a/src/main/scala/xyz/driver/core/rest.scala +++ b/src/main/scala/xyz/driver/core/rest.scala @@ -56,7 +56,6 @@ object rest { def extractContextHeaders(request: HttpRequest): Map[String, String] = { request.headers.filter { h => h.name === ContextHeaders.AuthenticationTokenHeader || h.name === ContextHeaders.TrackingIdHeader - // || ContextHeaders.LinkerD.isLinkerD(h.lowercaseName) } map { header => if (header.name === ContextHeaders.AuthenticationTokenHeader) { header.name -> header.value.stripPrefix(ContextHeaders.AuthenticationHeaderPrefix).trim |