From 3c899f9b54dda04e56d1e44f4e8243caa5d8ae1a Mon Sep 17 00:00:00 2001 From: llhuii Date: Sun, 30 May 2021 00:39:20 +0800 Subject: [PATCH] sched: fix Dump's doc comment --- pkg/scheduler/internal/cache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/internal/cache/cache.go b/pkg/scheduler/internal/cache/cache.go index a24276aaadd..8a65317684e 100644 --- a/pkg/scheduler/internal/cache/cache.go +++ b/pkg/scheduler/internal/cache/cache.go @@ -170,7 +170,7 @@ func (cache *schedulerCache) removeNodeInfoFromList(name string) { delete(cache.nodes, name) } -// Snapshot takes a snapshot of the current scheduler cache. This is used for +// Dump produces a dump of the current scheduler cache. This is used for // debugging purposes only and shouldn't be confused with UpdateSnapshot // function. // This method is expensive, and should be only used in non-critical path.