mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-09 11:51:02 -05:00
fix fallbackTag missing on leastping balancer
This fix fallbackTag not working when balancer type is set to "leastping"
This commit is contained in:
parent
c1bc8a0a42
commit
863479bb81
@ -144,7 +144,7 @@ func (br *BalancingRule) Build(ohm outbound.Manager, dispatcher routing.Dispatch
|
||||
return &Balancer{
|
||||
selectors: br.OutboundSelector,
|
||||
strategy: &LeastPingStrategy{config: s},
|
||||
ohm: ohm,
|
||||
ohm: ohm, fallbackTag: br.FallbackTag,
|
||||
}, nil
|
||||
case "leastload":
|
||||
i, err := serial.GetInstanceOf(br.StrategySettings)
|
||||
|
Loading…
Reference in New Issue
Block a user