-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix concurrent map writes bug of K8s metrics API client
The pvc-autoresizer can use Prometheus or the K8s metrics API as sources of metrics to determine whether a PVC needs to be resized. There is a concurrent map access bug in the K8s metrics API client implementation, which causes the pvc-autoresizer to crash. This commit fixes this issue. Signed-off-by: Daichi Mukai <[email protected]>
- Loading branch information
1 parent
0723820
commit f9e1160
Showing
1 changed file
with
21 additions
and
6 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