Skip to content

Commit 36dc1c4

Browse files
author
Marcin Owsiany
committed
Fix typo in function name.
Also remove a superfluous comment.
1 parent ebe8421 commit 36dc1c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/kubelet/pleg/generic.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (g *GenericPLEG) getRelistTime() time.Time {
173173
return val.(time.Time)
174174
}
175175

176-
func (g *GenericPLEG) updateRelisTime(timestamp time.Time) {
176+
func (g *GenericPLEG) updateRelistTime(timestamp time.Time) {
177177
g.relistTime.Store(timestamp)
178178
}
179179

@@ -198,8 +198,7 @@ func (g *GenericPLEG) relist() {
198198
return
199199
}
200200

201-
// Update the relist time.
202-
g.updateRelisTime(timestamp)
201+
g.updateRelistTime(timestamp)
203202

204203
pods := kubecontainer.Pods(podList)
205204
g.podRecords.setCurrent(pods)

0 commit comments

Comments
 (0)