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
c9faecba
Commit
c9faecba
authored
Jan 14, 2016
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19668 from Random-Liu/fix-bug-in-reconcile
Fix bug in needsReconcile
parents
919c011d
fed61731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
manager.go
pkg/kubelet/status/manager.go
+1
-2
No files found.
pkg/kubelet/status/manager.go
View file @
c9faecba
...
...
@@ -410,8 +410,7 @@ func (m *manager) needsReconcile(uid types.UID, status api.PodStatus) bool {
// The pod could be a static pod, so we should translate first.
pod
,
ok
:=
m
.
podManager
.
GetPodByUID
(
uid
)
if
!
ok
{
// Although we get uid from pod manager in syncBatch, it still could be deleted before here.
glog
.
V
(
4
)
.
Infof
(
"Pod %q has been deleted, no need to reconcile"
,
format
.
Pod
(
pod
))
glog
.
V
(
4
)
.
Infof
(
"Pod %q has been deleted, no need to reconcile"
,
string
(
uid
))
return
false
}
// If the pod is a static pod, we should check its mirror pod, because only status in mirror pod is meaningful to us.
...
...
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