mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +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 {
|
||||
return &EquivalenceCache{
|
||||
algorithmCache: make(map[string]AlgorithmCache),
|
||||
|
Loading…
Reference in New Issue
Block a user