mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-02 00:11:56 +03:00
Propagate DcUpdateEach setting
This commit is contained in:
@@ -65,9 +65,10 @@ type Config struct {
|
||||
} `json:"prometheus"`
|
||||
} `json:"stats"`
|
||||
DCOverrides []struct {
|
||||
DC TypeDC
|
||||
DC TypeDC `json:"dc"`
|
||||
IPs []TypeHostPort `json:"ips"`
|
||||
} `json:"dc_overrides"`
|
||||
} `json:"dcOverrides"`
|
||||
DCUpdateEach TypeDuration `json:"dcUpdateEach"`
|
||||
}
|
||||
|
||||
func (c *Config) Validate() error {
|
||||
|
||||
Reference in New Issue
Block a user