diff options
author | John St John <johnthesaintjohn@gmail.com> | 2017-10-05 15:45:41 -0700 |
---|---|---|
committer | John St John <johnthesaintjohn@gmail.com> | 2017-10-05 15:45:41 -0700 |
commit | 78261212035d820efe5728c15dfcd388be0c2a4b (patch) | |
tree | 2c2170386e060a99161f4e14db3500f323785ebb /src/main/scala/xyz/driver | |
parent | 84a67e00581aecb0a7d440a8730834944e4829eb (diff) | |
download | driver-core-78261212035d820efe5728c15dfcd388be0c2a4b.tar.gz driver-core-78261212035d820efe5728c15dfcd388be0c2a4b.tar.bz2 driver-core-78261212035d820efe5728c15dfcd388be0c2a4b.zip |
use headers already stored in contextheaders and remove unused test import
Diffstat (limited to 'src/main/scala/xyz/driver')
-rw-r--r-- | src/main/scala/xyz/driver/core/app.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/scala/xyz/driver/core/app.scala b/src/main/scala/xyz/driver/core/app.scala index 82471b2..06f215a 100644 --- a/src/main/scala/xyz/driver/core/app.scala +++ b/src/main/scala/xyz/driver/core/app.scala @@ -23,8 +23,8 @@ import xyz.driver.core.rest._ import xyz.driver.core.stats.SystemStats import xyz.driver.core.time.Time import xyz.driver.core.time.provider.{SystemTimeProvider, TimeProvider} -import xyz.driver.tracing._ import xyz.driver.tracing.TracingDirectives._ +import xyz.driver.tracing._ import scala.compat.Platform.ConcurrentModificationException import scala.concurrent.duration._ @@ -89,8 +89,8 @@ object app { "Access-Control-Allow-Headers", "Server", "Date", - TraceHeaderName, - SpanHeaderName, + ContextHeaders.TraceHeaderName, + ContextHeaders.SpanHeaderName, ContextHeaders.StacktraceHeader, ContextHeaders.AuthenticationTokenHeader, "X-Frame-Options", |