From e2439c04834f19269a1daa8feb849dc358ae65e2 Mon Sep 17 00:00:00 2001 From: lelemka0 <20322043+lelemka0@users.noreply.github.com> Date: Sat, 23 Mar 2024 21:25:18 +0800 Subject: [PATCH] fix: config `burstObservatory` override --- infra/conf/xray.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infra/conf/xray.go b/infra/conf/xray.go index 645da473..e48e04b2 100644 --- a/infra/conf/xray.go +++ b/infra/conf/xray.go @@ -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