mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 13:04:02 +03:00
Propagate DCOverrides
This commit is contained in:
@@ -64,6 +64,10 @@ type Config struct {
|
||||
MetricPrefix TypeMetricPrefix `json:"metricPrefix"`
|
||||
} `json:"prometheus"`
|
||||
} `json:"stats"`
|
||||
DCOverrides []struct {
|
||||
DC TypeDC
|
||||
IPs []TypeHostPort `json:"ips"`
|
||||
} `json:"dc_overrides"`
|
||||
}
|
||||
|
||||
func (c *Config) Validate() error {
|
||||
|
||||
Reference in New Issue
Block a user