remove duplicated words in heap.go and interfaces.go

Kubernetes-commit: dd4a8f9cab80aaf280ed5ed95a6facc26c00d928
This commit is contained in:
song
2018-09-17 18:00:19 +08:00
committed by Kubernetes Publisher
parent a5d40177db
commit bd418b4186
2 changed files with 2 additions and 2 deletions

2
tools/cache/heap.go vendored
View File

@@ -204,7 +204,7 @@ func (h *Heap) AddIfNotPresent(obj interface{}) error {
return nil
}
// addIfNotPresentLocked assumes the lock is already held and adds the the provided
// addIfNotPresentLocked assumes the lock is already held and adds the provided
// item to the queue if it does not already exist.
func (h *Heap) addIfNotPresentLocked(key string, obj interface{}) {
if _, exists := h.data.items[key]; exists {