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
1ad92359
Commit
1ad92359
authored
Jul 11, 2016
by
Harry Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove no needed todo
parent
710374b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
kubelet.go
pkg/kubelet/kubelet.go
+2
-3
No files found.
pkg/kubelet/kubelet.go
View file @
1ad92359
...
@@ -2018,9 +2018,8 @@ type empty struct{}
...
@@ -2018,9 +2018,8 @@ type empty struct{}
// HandlePodCleanups performs a series of cleanup work, including terminating
// HandlePodCleanups performs a series of cleanup work, including terminating
// pod workers, killing unwanted pods, and removing orphaned volumes/pod
// pod workers, killing unwanted pods, and removing orphaned volumes/pod
// directories.
// directories.
// TODO(yujuhong): This function is executed by the main sync loop, so it
// NOTE: This function is executed by the main sync loop, so it
// should not contain any blocking calls. Re-examine the function and decide
// should not contain any blocking calls.
// whether or not we should move it into a separte goroutine.
func
(
kl
*
Kubelet
)
HandlePodCleanups
()
error
{
func
(
kl
*
Kubelet
)
HandlePodCleanups
()
error
{
allPods
,
mirrorPods
:=
kl
.
podManager
.
GetPodsAndMirrorPods
()
allPods
,
mirrorPods
:=
kl
.
podManager
.
GetPodsAndMirrorPods
()
// Pod phase progresses monotonically. Once a pod has reached a final state,
// Pod phase progresses monotonically. Once a pod has reached a final state,
...
...
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