Skip to content

Commit

Permalink
Fix code typo in the thread context docs (#3186)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxAller authored and vy committed Nov 8, 2024
1 parent 98d895d commit 539e008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/site/antora/modules/ROOT/pages/manual/thread-context.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ List<String> ndc = ThreadContext.getImmutableStack().asList(); // <1>
executor.submit(() -> {
try (CloseableThreadContext.Instance ignored = CloseableThreadContext
.putAll(values) // <2>
.pushAll(messages)) { // <2>
.putAll(mdc) // <2>
.pushAll(ndc)) { // <2>
LOGGER.debug("Processing for user started");
// ...
Expand Down

0 comments on commit 539e008

Please sign in to comment.