Commit d196a4ab authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents 257b6f38 36dc1c45
...@@ -173,7 +173,7 @@ func (g *GenericPLEG) getRelistTime() time.Time { ...@@ -173,7 +173,7 @@ func (g *GenericPLEG) getRelistTime() time.Time {
return val.(time.Time) return val.(time.Time)
} }
func (g *GenericPLEG) updateRelisTime(timestamp time.Time) { func (g *GenericPLEG) updateRelistTime(timestamp time.Time) {
g.relistTime.Store(timestamp) g.relistTime.Store(timestamp)
} }
...@@ -198,8 +198,7 @@ func (g *GenericPLEG) relist() { ...@@ -198,8 +198,7 @@ func (g *GenericPLEG) relist() {
return return
} }
// Update the relist time. g.updateRelistTime(timestamp)
g.updateRelisTime(timestamp)
pods := kubecontainer.Pods(podList) pods := kubecontainer.Pods(podList)
g.podRecords.setCurrent(pods) g.podRecords.setCurrent(pods)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment