Remove mentioning of DC overrides

This commit is contained in:
9seconds
2026-02-24 13:32:06 +01:00
parent 94d46d2c65
commit e4a9a96309
6 changed files with 1 additions and 30 deletions
-4
View File
@@ -65,10 +65,6 @@ type Config struct {
MetricPrefix TypeMetricPrefix `json:"metricPrefix"`
} `json:"prometheus"`
} `json:"stats"`
DCOverrides []struct {
DC TypeDC `json:"dc"`
IPs []TypeHostPort `json:"ips"`
} `json:"dcOverrides"`
}
func (c *Config) Validate() error {
-4
View File
@@ -60,10 +60,6 @@ type tomlConfig struct {
MetricPrefix string `toml:"metric-prefix" json:"metricPrefix,omitempty"`
} `toml:"prometheus" json:"prometheus,omitempty"`
} `toml:"stats" json:"stats,omitempty"`
DCOverrides []struct {
DC uint `toml:"dc" json:"dc"`
IPs []string `toml:"ips" json:"ips"`
} `toml:"dc-overrides" json:"dcOverrides,omitempty"`
}
func Parse(rawData []byte) (*Config, error) {