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
bdc013ad
Unverified
Commit
bdc013ad
authored
Mar 20, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #75276 from WanLinghao/node_lifecycle_clean
unused function clean
parents
30071b31
686b526d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
node_lifecycle_controller.go
pkg/controller/nodelifecycle/node_lifecycle_controller.go
+0
-8
No files found.
pkg/controller/nodelifecycle/node_lifecycle_controller.go
View file @
bdc013ad
...
...
@@ -23,8 +23,6 @@ package nodelifecycle
import
(
"fmt"
"hash/fnv"
"io"
"sync"
"time"
...
...
@@ -1276,9 +1274,3 @@ func (nc *Controller) reconcileNodeLabels(nodeName string) error {
}
return
nil
}
func
hash
(
val
string
,
max
int
)
int
{
hasher
:=
fnv
.
New32a
()
io
.
WriteString
(
hasher
,
val
)
return
int
(
hasher
.
Sum32
())
%
max
}
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