mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 12:49:20 +02:00
fix: config `burstObservatory` override
This commit is contained in:
parent
fac383672c
commit
e2439c0483
|
@ -481,6 +481,10 @@ func (c *Config) Override(o *Config, fn string) {
|
||||||
c.Observatory = o.Observatory
|
c.Observatory = o.Observatory
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if o.BurstObservatory != nil {
|
||||||
|
c.BurstObservatory = o.BurstObservatory
|
||||||
|
}
|
||||||
|
|
||||||
// deprecated attrs... keep them for now
|
// deprecated attrs... keep them for now
|
||||||
if o.InboundConfig != nil {
|
if o.InboundConfig != nil {
|
||||||
c.InboundConfig = o.InboundConfig
|
c.InboundConfig = o.InboundConfig
|
||||||
|
|
Loading…
Reference in New Issue