mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #100406 from tomkukral/retry-doc
fix typo in retry doc
This commit is contained in:
commit
bf22025950
@ -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