Skip to content

Commit d196a4a

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#54062 from porridge/fix-typo-method
Automatic merge from submit-queue (batch tested with PRs 43661, 54062). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix typo in function name. Also remove a superfluous comment. **Release note**: ```release-note NONE ```
2 parents 257b6f3 + 36dc1c4 commit d196a4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/kubelet/pleg/generic.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (g *GenericPLEG) getRelistTime() time.Time {
173173
return val.(time.Time)
174174
}
175175

176-
func (g *GenericPLEG) updateRelisTime(timestamp time.Time) {
176+
func (g *GenericPLEG) updateRelistTime(timestamp time.Time) {
177177
g.relistTime.Store(timestamp)
178178
}
179179

@@ -198,8 +198,7 @@ func (g *GenericPLEG) relist() {
198198
return
199199
}
200200

201-
// Update the relist time.
202-
g.updateRelisTime(timestamp)
201+
g.updateRelistTime(timestamp)
203202

204203
pods := kubecontainer.Pods(podList)
205204
g.podRecords.setCurrent(pods)

0 commit comments

Comments
 (0)