Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #68729 from TinySong/fix-client-go-typos
Browse files Browse the repository at this point in the history
remove duplicated words in heap.go and interfaces.go
  • Loading branch information
k8s-ci-robot committed Sep 26, 2018
2 parents 1b2298c + dd4a8f9 commit a641e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion staging/src/k8s.io/client-go/scale/interfaces.go
Expand Up @@ -34,6 +34,6 @@ type ScaleInterface interface {
// Get fetches the scale of the given scalable resource.
Get(resource schema.GroupResource, name string) (*autoscalingapi.Scale, error)

// Update updates the scale of the the given scalable resource.
// Update updates the scale of the given scalable resource.
Update(resource schema.GroupResource, scale *autoscalingapi.Scale) (*autoscalingapi.Scale, error)
}
2 changes: 1 addition & 1 deletion staging/src/k8s.io/client-go/tools/cache/heap.go
Expand Up @@ -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 {
Expand Down

0 comments on commit a641e1c

Please sign in to comment.