mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-07 20:18:44 +00:00
fix typo in retry doc
Kubernetes-commit: 1dc4a29a1aed89b598cb728986526d00390cdadc
This commit is contained in:
parent
bcf88f084d
commit
5783ea1040
@ -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