File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
src/main/kotlin/no/nav/klage/document/config Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,7 @@ updates:
1010 schedule :
1111 interval : " daily"
1212 open-pull-requests-limit : 10
13+ groups :
14+ all-dependencies :
15+ patterns :
16+ - " *"
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ dependencies {
5454 testImplementation(" org.mockito:mockito-inline:5.2.0" )
5555}
5656
57+ java.sourceCompatibility = JavaVersion .VERSION_17
58+
5759tasks.withType<KotlinCompile > {
5860 kotlinOptions {
5961 freeCompilerArgs = listOf (" -Xjsr305=strict" )
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ class CustomTraceFilter(
2626 chain : FilterChain
2727 ) {
2828 // Create if not exists
29- tracer.createBaggage (navCallIdName, tracer.currentTraceContext().context()!! .traceId())
29+ tracer.createBaggageInScope (navCallIdName, tracer.currentTraceContext().context()!! .traceId())
3030
3131 // also add this, since some services require that version/spelling
32- tracer.createBaggage (" Nav-Call-Id" , tracer.currentTraceContext().context()!! .traceId())
32+ tracer.createBaggageInScope (" Nav-Call-Id" , tracer.currentTraceContext().context()!! .traceId())
3333
3434 chain.doFilter(request, response)
3535 }
You can’t perform that action at this time.
0 commit comments