mirror of
https://github.com/kubernetes/client-go.git
synced 2026-02-22 08:03:18 +00:00
We need to lock on observedTime reads to avoid races, before we were only locking to read the observed record. Use a RW lock since there are much more reads that writes. Kubernetes-commit: d5ac0e408a0a1e50197e1b599b9b8b2e505bfe46