mirror of https://github.com/k3s-io/k3s
Merge pull request #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 ```pull/6/head
commit
d196a4abbb
|
@ -173,7 +173,7 @@ func (g *GenericPLEG) getRelistTime() time.Time {
|
|||
return val.(time.Time)
|
||||
}
|
||||
|
||||
func (g *GenericPLEG) updateRelisTime(timestamp time.Time) {
|
||||
func (g *GenericPLEG) updateRelistTime(timestamp time.Time) {
|
||||
g.relistTime.Store(timestamp)
|
||||
}
|
||||
|
||||
|
@ -198,8 +198,7 @@ func (g *GenericPLEG) relist() {
|
|||
return
|
||||
}
|
||||
|
||||
// Update the relist time.
|
||||
g.updateRelisTime(timestamp)
|
||||
g.updateRelistTime(timestamp)
|
||||
|
||||
pods := kubecontainer.Pods(podList)
|
||||
g.podRecords.setCurrent(pods)
|
||||
|
|
Loading…
Reference in New Issue