Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bug] [hotrod] Delay env var mapping until logger is initialized (jae…
…gertracing#5760) ## Which problem is this PR solving? - Resolves jaegertracing#5759 ## Description of the changes - Invoke mapping function (which takes logger) after the logger is initialized - It is safe to do because none of the env vars control the logic for logger initialization ## How was this change tested? - `$ JAEGER_AGENT_PORT=xyz go run ./examples/hotrod all` - Before the change this command would cause a panic Signed-off-by: Yuri Shkuro <[email protected]>
- Loading branch information