-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmd/telemetrygen] fix issue when passing status-code as string to co…
…mmand - strings were not valid JSON and would therefore cause the JSON Unmarshal to return an error - each status code is now captured explicitly in a switch case statement - mixed case is now supported when passing it as a string also - `TestSpanStatuses` test was updated to run as sub-tests
- Loading branch information
James Neill
committed
Sep 18, 2023
1 parent
8eea663
commit 5c916ec
Showing
2 changed files
with
48 additions
and
35 deletions.
There are no files selected for viewing
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