fix typos: remove duplicated word in comments

Kubernetes-commit: 87c29a08e1f51b2989ff15fc3e5857bc287e401f
This commit is contained in:
supereagle 2017-06-17 17:17:22 +08:00 committed by Kubernetes Publisher
parent 867bf16223
commit c489f97d4e
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

2
tools/cache/fifo.go vendored
View File

@ -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