From cf80186a6c1b21b7d3a8a21ef00ebf448f90d37b Mon Sep 17 00:00:00 2001 From: Kenneth Owens Date: Fri, 23 Feb 2018 08:06:16 -0800 Subject: [PATCH] Fix golint warning --- pkg/controller/daemon/util/daemonset_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/daemon/util/daemonset_util.go b/pkg/controller/daemon/util/daemonset_util.go index ea91813b40d..f6510ea9be2 100644 --- a/pkg/controller/daemon/util/daemonset_util.go +++ b/pkg/controller/daemon/util/daemonset_util.go @@ -111,7 +111,7 @@ func CreatePodTemplate(template v1.PodTemplateSpec, generation *int64, hash stri return newTemplate } -// IsPodUpdate checks if pod contains label value that either matches templateGeneration or hash +// IsPodUpdated checks if pod contains label value that either matches templateGeneration or hash func IsPodUpdated(pod *v1.Pod, hash string, dsTemplateGeneration *int64) bool { // Compare with hash to see if the pod is updated, need to maintain backward compatibility of templateGeneration templateMatches := dsTemplateGeneration != nil &&