Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NPE from SimpleTracer#createBaggage
When creating a baggage with `SimpleTracer#createBaggage`, it fails with NPE since the internal map `baggagesByContext` does not have a corresponding value and returns `null`, but the code expects non-null collection to be returned. This commit updates the method to handle when no corresponding baggage-in-scopes exist. Signed-off-by: Tadaya Tsuyukubo <[email protected]>
- Loading branch information