Fix typo in function name.
Also remove a superfluous comment.
This commit is contained in:
parent
ebe8421353
commit
36dc1c4515
@ -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
Block a user