sched: fix Dump's doc comment

This commit is contained in:
llhuii 2021-05-30 00:39:20 +08:00
parent 49897ca156
commit 3c899f9b54

View File

@ -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.