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
```
This commit is contained in:
Kubernetes Submit Queue 2017-10-18 13:11:23 -07:00 committed by GitHub
commit d196a4abbb

View File

@ -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() {
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)