You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/overrides/overrides.go
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,6 @@ const (
28
28
// Config holds configuration for the overrides module
29
29
typeConfigstruct {
30
30
// Enable the overrides API module
31
-
// CLI flag: -overrides.enabled
32
-
Enabledbool`yaml:"enabled"`
33
31
34
32
// Path to the runtime configuration file that can be updated via the overrides API
35
33
// CLI flag: -overrides.runtime-config-file
@@ -42,17 +40,14 @@ type Config struct {
42
40
43
41
// RegisterFlags registers the overrides module flags
44
42
func (c*Config) RegisterFlags(f*flag.FlagSet) {
45
-
f.BoolVar(&c.Enabled, "overrides.enabled", false, "Enable the overrides API module")
43
+
46
44
f.StringVar(&c.RuntimeConfigFile, "overrides.runtime-config-file", "runtime.yaml", "Path to the runtime configuration file that can be updated via the overrides API")
47
45
48
46
c.RegisterFlagsWithPrefix("overrides.", f)
49
47
}
50
48
51
49
// Validate validates the configuration and returns an error if validation fails
0 commit comments