From c489f97d4e645af3fb1ca586cfef4497a5c3d2b3 Mon Sep 17 00:00:00 2001 From: supereagle Date: Sat, 17 Jun 2017 17:17:22 +0800 Subject: [PATCH] fix typos: remove duplicated word in comments Kubernetes-commit: 87c29a08e1f51b2989ff15fc3e5857bc287e401f --- dynamic/client_pool.go | 2 +- tools/cache/fifo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamic/client_pool.go b/dynamic/client_pool.go index 728c1c2e..a5e1b297 100644 --- a/dynamic/client_pool.go +++ b/dynamic/client_pool.go @@ -56,7 +56,7 @@ type clientPoolImpl struct { mapper meta.RESTMapper } -// NewClientPool returns a ClientPool from the specified config. It reuses clients for the the same +// NewClientPool returns a ClientPool from the specified config. It reuses clients for the same // group version. It is expected this type may be wrapped by specific logic that special cases certain // resources or groups. func NewClientPool(config *restclient.Config, mapper meta.RESTMapper, apiPathResolverFunc APIPathResolverFunc) ClientPool { diff --git a/tools/cache/fifo.go b/tools/cache/fifo.go index 3f6e2a94..ef70b7ac 100644 --- a/tools/cache/fifo.go +++ b/tools/cache/fifo.go @@ -169,7 +169,7 @@ func (f *FIFO) AddIfNotPresent(obj interface{}) error { return nil } -// addIfNotPresent assumes the fifo lock is already held and adds the the provided +// addIfNotPresent assumes the fifo lock is already held and adds the provided // item to the queue under id if it does not already exist. func (f *FIFO) addIfNotPresent(id string, obj interface{}) { f.populated = true