mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Fixe golints of equiv class
This commit is contained in:
parent
6380a75484
commit
4e5901f947
@ -62,6 +62,8 @@ func newAlgorithmCache() AlgorithmCache {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewEquivalenceCache returns EquivalenceCache to speed up predicates by caching
|
||||||
|
// result from previous scheduling.
|
||||||
func NewEquivalenceCache() *EquivalenceCache {
|
func NewEquivalenceCache() *EquivalenceCache {
|
||||||
return &EquivalenceCache{
|
return &EquivalenceCache{
|
||||||
algorithmCache: make(map[string]AlgorithmCache),
|
algorithmCache: make(map[string]AlgorithmCache),
|
||||||
|
Loading…
Reference in New Issue
Block a user