mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-12 18:15:14 +00:00
Automatic merge from submit-queue [Federation] Fix flake in TestUpdateClusterRace **What this PR does / why we need it**: Fix #50262 **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50262 **Special notes for your reviewer**: Although we do locking/unlocking while using protected data in ClusterController, there are chances that `clusterClient` can be deleted as it is a pointer. Also its better to lock/unlock once for the function `UpdateClusterStatus` instead of multiple locks/unlocks. **Release note**: ``` NONE ``` /assign @madhusudancs /cc @dminh @kubernetes/sig-federation-bugs