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
ce7658a3
Commit
ce7658a3
authored
Mar 13, 2015
by
Satnam Singh
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5445 from vmarmol/unused
Remove unused handleUpdate() in Kubelet.
parents
fae8bf20
04233cdb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
kubelet.go
pkg/kubelet/kubelet.go
+0
-17
No files found.
pkg/kubelet/kubelet.go
View file @
ce7658a3
...
@@ -1675,23 +1675,6 @@ func (kl *Kubelet) handleHostPortConflicts(pods []api.BoundPod) {
...
@@ -1675,23 +1675,6 @@ func (kl *Kubelet) handleHostPortConflicts(pods []api.BoundPod) {
}
}
}
}
func
(
kl
*
Kubelet
)
handleUpdate
(
u
PodUpdate
)
{
kl
.
podLock
.
Lock
()
defer
kl
.
podLock
.
Unlock
()
switch
u
.
Op
{
case
SET
:
glog
.
V
(
3
)
.
Infof
(
"SET: Containers changed"
)
kl
.
pods
=
u
.
Pods
kl
.
handleHostPortConflicts
(
kl
.
pods
)
case
UPDATE
:
glog
.
V
(
3
)
.
Infof
(
"Update: Containers changed"
)
kl
.
pods
=
updateBoundPods
(
u
.
Pods
,
kl
.
pods
)
kl
.
handleHostPortConflicts
(
kl
.
pods
)
default
:
panic
(
"syncLoop does not support incremental changes"
)
}
}
// syncLoop is the main loop for processing changes. It watches for changes from
// syncLoop is the main loop for processing changes. It watches for changes from
// three channels (file, apiserver, and http) and creates a union of them. For
// three channels (file, apiserver, and http) and creates a union of them. For
// any new change seen, will run a sync against desired state and running state. If
// any new change seen, will run a sync against desired state and running state. If
...
...
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