Skip to content

Commit

Permalink
Clarify that Setter sets values only. (open-telemetry#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosalberto authored Oct 7, 2020
1 parent fd19c5c commit 2ebefc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specification/context/api-propagators.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ the base [Inject](#inject) operation.

Optional arguments:

- A `Setter` invoked for each propagation key to add or remove. This is an additional
argument that languages are free to define to help inject data into the carrier.
- A `Setter` to set a propagation key/value pair. Propagators MAY invoke it multiple times in order to set multiple pairs.
This is an additional argument that languages are free to define to help inject data into the carrier.

#### Setter argument

Expand Down Expand Up @@ -263,7 +263,7 @@ Required arguments:

- A `Context`.
- The carrier that holds propagation fields.
- The `Setter` invoked for each propagation key to add or remove.
- The `Setter` to set a propagation key/value pair. Propagators MAY invoke it multiple times in order to set multiple pairs.

## Global Propagators

Expand Down

0 comments on commit 2ebefc1

Please sign in to comment.