mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-19 17:39:56 +00:00
Merge pull request #100406 from tomkukral/retry-doc
fix typo in retry doc Kubernetes-commit: bf22025950c0af15f3bbf92f3ff085dbe5b087a7
This commit is contained in:
commit
3c86d4a920
@ -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
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user