-
Kubernetes Submit Queue authored
Automatic merge from submit-queue federation-controller/clustercontroller: fix race when updating data Fix #49958 Updates for ClusterController's maps were made without locking which can lead to race conditions. This change adds a RWMutex to protect the data. We lock and unlock them whenever the data is accessed to make sure that we dont slow down too much
a826c378