-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(opentelemetry): tostring
header_type
avoid concatenation nil er…
…ror in log (#10137) The require of header_type is false, so the consumer can choose `header_type` to be nil in Kong Manager; if this is, Kong Manager would pass `json.null` to Kong, `header_type` could be nil in this case. This PR respects this behavior and handles concatenation nil error when `header_type` is nil. Note that this is a fix that only exists in the 3.4 series. Fix: [FTI-6119](https://konghq.atlassian.net/browse/FTI-6119) Signed-off-by: tzssangglass <[email protected]>
- Loading branch information
1 parent
7301c49
commit 7818afe
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelog/unreleased/kong-ee/fix-opentelemetry-header-type-is-null.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
message: "**OpenTelemetry**: Fixed an issue where header_type being nil caused a concatenation error." | ||
type: bugfix | ||
scope: Plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters