mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-02 00:30:58 +00:00
scheduler: make ApplyFeatureGates() stateless
This commit is contained in:
@@ -21,6 +21,6 @@ import (
|
||||
)
|
||||
|
||||
// ApplyFeatureGates applies algorithm by feature gates.
|
||||
func ApplyFeatureGates() {
|
||||
defaults.ApplyFeatureGates()
|
||||
func ApplyFeatureGates() func() {
|
||||
return defaults.ApplyFeatureGates()
|
||||
}
|
||||
|
Reference in New Issue
Block a user