Skip to content

Commit

Permalink
use sync map
Browse files Browse the repository at this point in the history
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
  • Loading branch information
coleenquadros authored and openshift-cherrypick-robot committed Sep 30, 2024
1 parent 07ed9c3 commit 96cc9e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func getClusterPreds() predicate.Funcs {
}

if e.Object.GetName() != localClusterName {
updateManagedClusterList(e.Object)
managedClusterList.Delete(e.Object.GetName())
}
managedClusterImageRegistryMutex.Lock()
delete(managedClusterImageRegistry, e.Object.GetName())
Expand Down

0 comments on commit 96cc9e3

Please sign in to comment.