Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
dd4a8f9c
Commit
dd4a8f9c
authored
Sep 17, 2018
by
song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicated words in heap.go and interfaces.go
parent
fb799435
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
interfaces.go
staging/src/k8s.io/client-go/scale/interfaces.go
+1
-1
heap.go
staging/src/k8s.io/client-go/tools/cache/heap.go
+1
-1
No files found.
staging/src/k8s.io/client-go/scale/interfaces.go
View file @
dd4a8f9c
...
...
@@ -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
)
}
staging/src/k8s.io/client-go/tools/cache/heap.go
View file @
dd4a8f9c
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment