From 1d89ae2847f951cb1c4105e6aba4c4163c672731 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 6 Nov 2023 03:49:08 +0900 Subject: [PATCH] Fix typo in xray.go overide -> override --- infra/conf/xray.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/conf/xray.go b/infra/conf/xray.go index 558e2baa..dfc34a8c 100644 --- a/infra/conf/xray.go +++ b/infra/conf/xray.go @@ -487,7 +487,7 @@ func (c *Config) Override(o *Config, fn string) { } // deprecated attrs - // update the Inbound in slice if the only one in overide config has same tag + // update the Inbound in slice if the only one in override config has same tag if len(o.InboundConfigs) > 0 { for i := range o.InboundConfigs { if idx := c.findInboundTag(o.InboundConfigs[i].Tag); idx > -1 { @@ -502,7 +502,7 @@ func (c *Config) Override(o *Config, fn string) { } } - // update the Outbound in slice if the only one in overide config has same tag + // update the Outbound in slice if the only one in override config has same tag if len(o.OutboundConfigs) > 0 { outboundPrepends := []OutboundDetourConfig{} for i := range o.OutboundConfigs {