-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip adding metrics to logger if logger is not used
If --log_path="" and --proxyLogDir="" then s.Logger == nil so we shouldnt save any metrics Test: I cannot reproduce in an integration test but this should eliminate any chance of a panic here Bug: b/300041630 Change-Id: Id7239d31a6c5c3d5bdf548f3d5f863fe418878c3 GitOrigin-RevId: e73330678ee8f635b91eaf80c4f1a0db50e7e81a
- Loading branch information
1 parent
12f7982
commit 55b9dd0
Showing
1 changed file
with
24 additions
and
0 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