Skip to content

Commit cd0dcdc

Browse files
committed
Test updates due to FeatureGates no longer being a pointer
Signed-off-by: Shmuel Kallner <[email protected]>
1 parent 6fdca6a commit cd0dcdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/epp/config/loader/configloader_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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: true},
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: true},
210210
SaturationDetector: &configapi.SaturationDetector{
211211
QueueDepthThreshold: saturationdetector.DefaultQueueDepthThreshold,
212212
KVCacheUtilThreshold: saturationdetector.DefaultKVCacheUtilThreshold,
@@ -247,7 +247,7 @@ func TestLoadRawConfigurationWithDefaults(t *testing.T) {
247247
},
248248
},
249249
},
250-
FeatureGates: &configapi.FeatureGates{},
250+
FeatureGates: configapi.FeatureGates{},
251251
SaturationDetector: &configapi.SaturationDetector{
252252
QueueDepthThreshold: saturationdetector.DefaultQueueDepthThreshold,
253253
KVCacheUtilThreshold: saturationdetector.DefaultKVCacheUtilThreshold,

0 commit comments

Comments
 (0)