mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-18 07:17:32 -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{
|
return &Balancer{
|
||||||
selectors: br.OutboundSelector,
|
selectors: br.OutboundSelector,
|
||||||
strategy: &LeastPingStrategy{config: s},
|
strategy: &LeastPingStrategy{config: s},
|
||||||
ohm: ohm,
|
ohm: ohm, fallbackTag: br.FallbackTag,
|
||||||
}, nil
|
}, nil
|
||||||
case "leastload":
|
case "leastload":
|
||||||
i, err := serial.GetInstanceOf(br.StrategySettings)
|
i, err := serial.GetInstanceOf(br.StrategySettings)
|
||||||
|
Loading…
Reference in New Issue
Block a user