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