@@ -100,7 +100,7 @@ func TestLoadRawConfiguration(t *testing.T) {
100100 },
101101 },
102102 },
103- FeatureGates : configapi.FeatureGates {datalayer .FeatureGate : true },
103+ FeatureGates : configapi.FeatureGates {datalayer .FeatureGate },
104104 SaturationDetector : & configapi.SaturationDetector {
105105 MetricsStalenessThreshold : metav1.Duration {Duration : 150 * time .Millisecond },
106106 },
@@ -206,7 +206,7 @@ func TestLoadRawConfigurationWithDefaults(t *testing.T) {
206206 },
207207 },
208208 },
209- FeatureGates : configapi.FeatureGates {datalayer .FeatureGate : true },
209+ FeatureGates : configapi.FeatureGates {datalayer .FeatureGate },
210210 SaturationDetector : & configapi.SaturationDetector {
211211 QueueDepthThreshold : saturationdetector .DefaultQueueDepthThreshold ,
212212 KVCacheUtilThreshold : saturationdetector .DefaultKVCacheUtilThreshold ,
@@ -563,7 +563,7 @@ schedulingProfiles:
563563 weight: 50
564564 - pluginRef: testPicker
565565featureGates:
566- dataLayer: true
566+ - dataLayer
567567saturationDetector:
568568 metricsStalenessThreshold: 150ms
569569`
@@ -743,7 +743,7 @@ plugins:
743743 parameters:
744744 threshold: 10
745745featureGates:
746- qwerty: true
746+ - qwerty
747747`
748748
749749// compile-time type validation
@@ -886,7 +886,7 @@ schedulingProfiles:
886886 weight: 50
887887 - pluginRef: maxScorePicker
888888featureGates:
889- dataLayer: true
889+ - dataLayer
890890`
891891
892892// valid configuration, with default weight for scorer
0 commit comments