Merge pull request #102432 from llhuii/fix-scheduler-doc-comment
sched: fix Dump's doc comment
This commit is contained in:
2
pkg/scheduler/internal/cache/cache.go
vendored
2
pkg/scheduler/internal/cache/cache.go
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user