From c0ced154ebf401b4d729f512911859e7cc7931fb Mon Sep 17 00:00:00 2001 From: Fabian Ruff Date: Fri, 19 Jan 2018 12:57:24 +0100 Subject: [PATCH] Fix UpdatePodWithRetries inline documentation --- pkg/controller/deployment/util/pod_util.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/controller/deployment/util/pod_util.go b/pkg/controller/deployment/util/pod_util.go index c388e2d6c7..e7c231c1e6 100644 --- a/pkg/controller/deployment/util/pod_util.go +++ b/pkg/controller/deployment/util/pod_util.go @@ -30,8 +30,7 @@ import ( // see https://github.com/kubernetes/kubernetes/issues/21479 type updatePodFunc func(pod *v1.Pod) error -// UpdatePodWithRetries updates a pod with given applyUpdate function. Note that pod not found error is ignored. -// The returned bool value can be used to tell if the pod is actually updated. +// UpdatePodWithRetries updates a pod with given applyUpdate function. func UpdatePodWithRetries(podClient v1core.PodInterface, podLister corelisters.PodLister, namespace, name string, applyUpdate updatePodFunc) (*v1.Pod, error) { var pod *v1.Pod