Merge pull request #102432 from llhuii/fix-scheduler-doc-comment

sched: fix Dump's doc comment
This commit is contained in:
Kubernetes Prow Robot 2021-05-31 10:10:26 -07:00 committed by GitHub
commit f31bfd8355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.