-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/util/log: clean up some unsafe lock usage in bufferedSink
There are multiple undeferred lock usages in the bufferedSink beyond just the one that surrounds the call to `appendMsg`. This small patch cleans these usages up to use `defer` instead. Release note: none
- Loading branch information
1 parent
8bb6d19
commit 96acea6
Showing
1 changed file
with
11 additions
and
7 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