Skip to content

Commit

Permalink
Fix typo in xray.go
Browse files Browse the repository at this point in the history
overide -> override
  • Loading branch information
eltociear authored and yuhan6665 committed Nov 6, 2023
1 parent 3500f5b commit 1d89ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/conf/xray.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 1d89ae2

Please sign in to comment.