Fix typo in function name.

Also remove a superfluous comment.
This commit is contained in:
Marcin Owsiany 2017-10-17 11:31:46 +02:00
parent ebe8421353
commit 36dc1c4515

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)