Skip to content

Commit f8afdea

Browse files
committed
Changed FeatureGates to a map[string]bool
Signed-off-by: Shmuel Kallner <[email protected]>
1 parent e238cd4 commit f8afdea

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pkg/epp/config/config.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ import (
2424
// Config is the configuration loaded from the text based configuration
2525
type Config struct {
2626
SchedulerConfig *scheduling.SchedulerConfig
27-
FeatureConfig FeatureConfig
27+
FeatureConfig map[string]bool
2828
SaturationDetectorConfig saturationdetector.Config
2929
}
30-
31-
// FeatureConfig contains a set of flags for enabling various experimental fetures/APIs in the EPP
32-
type FeatureConfig struct {
33-
// EnableDataLayer if true, indicates that the experimental DataLayer APIs are enabled
34-
EnableDataLayer bool
35-
36-
// EnableFlowControl if true, indicates that the experimental FlowControl feature is enabled.
37-
EnableFlowControl bool
38-
}

0 commit comments

Comments
 (0)