From 5783ea104074fd18363032bd0ccf7a10aabfd7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kukr=C3=A1l?= Date: Fri, 19 Mar 2021 17:28:28 +0100 Subject: [PATCH] fix typo in retry doc Kubernetes-commit: 1dc4a29a1aed89b598cb728986526d00390cdadc --- util/retry/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/retry/util.go b/util/retry/util.go index 15e2722f..772f5bd7 100644 --- a/util/retry/util.go +++ b/util/retry/util.go @@ -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 // // the current version before making your own changes. // pod, err := c.Pods("mynamespace").Get(name, metav1.GetOptions{}) -// if err ! nil { +// if err != nil { // return err // } //