mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-13 19:01:10 -04:00
It's easy to get update conflict when processing a DaemonSet continuously. storeDaemonSetStatus had a retry logic that it gets the resource from apiserver to update the DaemonSet with the latest resource version. However, it never really retried because of a wrong check and always made an useless get call. This patch fixes the logic to allow the function retry once on update error. |
||
|---|---|---|
| .. | ||
| config | ||
| util | ||
| daemon_controller.go | ||
| daemon_controller_test.go | ||
| doc.go | ||
| init_test.go | ||
| OWNERS | ||
| update.go | ||
| update_test.go | ||