Skip to content

Commit

Permalink
Fix sample code in BaggagePropagationConfig (#1302)
Browse files Browse the repository at this point in the history
Sample code is using non-existing method.
  • Loading branch information
mustafau authored Dec 15, 2023
1 parent bad97d4 commit 6d21ce5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*
* scopeBuilder.clear() // TRACE_ID is a default field!
* .add(SingleBaggageField.newBuilder(BaggageFields.TRACE_ID)
* .name("trace-id").build())
* .addKeyName("trace-id").build())
* }</pre>
*
* <p><em>Note</em>At the moment, dynamic fields are not supported. Use {@link
Expand Down

0 comments on commit 6d21ce5

Please sign in to comment.