fix typo in retry doc

Kubernetes-commit: 1dc4a29a1aed89b598cb728986526d00390cdadc
This commit is contained in:
Tomáš Kukrál 2021-03-19 17:28:28 +01:00 committed by Kubernetes Publisher
parent bcf88f084d
commit 5783ea1040

View File

@ -79,7 +79,7 @@ func OnError(backoff wait.Backoff, retriable func(error) bool, fn func() error)
// // if you got a conflict on the last update attempt then you need to get // // if you got a conflict on the last update attempt then you need to get
// // the current version before making your own changes. // // the current version before making your own changes.
// pod, err := c.Pods("mynamespace").Get(name, metav1.GetOptions{}) // pod, err := c.Pods("mynamespace").Get(name, metav1.GetOptions{})
// if err ! nil { // if err != nil {
// return err // return err
// } // }
// //