Remove fallbackTag (#9728)

This commit is contained in:
DHR60
2026-07-11 07:18:16 +00:00
committed by GitHub
parent 88d59488fd
commit a0bd8f9934
2 changed files with 0 additions and 2 deletions
@@ -286,7 +286,6 @@ public class BalancersItem4Ray
public List<string>? selector { get; set; } public List<string>? selector { get; set; }
public BalancersStrategy4Ray? strategy { get; set; } public BalancersStrategy4Ray? strategy { get; set; }
public string? tag { get; set; } public string? tag { get; set; }
public string? fallbackTag { get; set; }
} }
public class BalancersStrategy4Ray public class BalancersStrategy4Ray
@@ -109,7 +109,6 @@ public partial class CoreConfigV2rayService
: null, : null,
}, },
tag = balancerTag, tag = balancerTag,
fallbackTag = _coreConfig.outbounds?.FirstOrDefault(o => o.tag.StartsWith(selector))?.tag,
}; };
_coreConfig.routing.balancers ??= []; _coreConfig.routing.balancers ??= [];
_coreConfig.routing.balancers.Add(balancer); _coreConfig.routing.balancers.Add(balancer);