mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-14 05:25:33 +00:00
fix typos: remove duplicated word in comments
Kubernetes-commit: 87c29a08e1f51b2989ff15fc3e5857bc287e401f
This commit is contained in:
parent
867bf16223
commit
c489f97d4e
@ -56,7 +56,7 @@ type clientPoolImpl struct {
|
|||||||
mapper meta.RESTMapper
|
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
|
// group version. It is expected this type may be wrapped by specific logic that special cases certain
|
||||||
// resources or groups.
|
// resources or groups.
|
||||||
func NewClientPool(config *restclient.Config, mapper meta.RESTMapper, apiPathResolverFunc APIPathResolverFunc) ClientPool {
|
func NewClientPool(config *restclient.Config, mapper meta.RESTMapper, apiPathResolverFunc APIPathResolverFunc) ClientPool {
|
||||||
|
2
tools/cache/fifo.go
vendored
2
tools/cache/fifo.go
vendored
@ -169,7 +169,7 @@ func (f *FIFO) AddIfNotPresent(obj interface{}) error {
|
|||||||
return nil
|
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.
|
// item to the queue under id if it does not already exist.
|
||||||
func (f *FIFO) addIfNotPresent(id string, obj interface{}) {
|
func (f *FIFO) addIfNotPresent(id string, obj interface{}) {
|
||||||
f.populated = true
|
f.populated = true
|
||||||
|
Loading…
Reference in New Issue
Block a user