fix: config burstObservatory override

This commit is contained in:
lelemka0 2024-03-23 21:25:18 +08:00 committed by yuhan6665
parent fac383672c
commit e2439c0483

View File

@ -481,6 +481,10 @@ func (c *Config) Override(o *Config, fn string) {
c.Observatory = o.Observatory
}
if o.BurstObservatory != nil {
c.BurstObservatory = o.BurstObservatory
}
// deprecated attrs... keep them for now
if o.InboundConfig != nil {
c.InboundConfig = o.InboundConfig