1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-19 10:26:10 -04:00

fix fallbackTag missing on leastping balancer

This fix fallbackTag not working when balancer type is set to "leastping"
This commit is contained in:
povsister 2024-08-03 19:04:20 +08:00 committed by Xiaokang Wang (Shelikhoo)
parent c1bc8a0a42
commit 863479bb81

View File

@ -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)