mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
sched: fix Dump's doc comment
This commit is contained in:
parent
49897ca156
commit
3c899f9b54
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.
|
||||
|
Loading…
Reference in New Issue
Block a user