From 5a73d99c6f0aa1a86ab53286f48d3eead86cef4c Mon Sep 17 00:00:00 2001 From: xishang0128 Date: Tue, 6 Aug 2024 16:30:44 +0800 Subject: [PATCH] fix: logic rules display error --- rules/provider/rule_set.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rules/provider/rule_set.go b/rules/provider/rule_set.go index d85db80558..04ab9943e1 100644 --- a/rules/provider/rule_set.go +++ b/rules/provider/rule_set.go @@ -40,10 +40,7 @@ func (rs *RuleSet) Adapter() string { } func (rs *RuleSet) Payload() string { - if provider, ok := rs.getProvider(); ok { - return provider.Name() - } - return "" + return rs.ruleProviderName } func (rs *RuleSet) ShouldResolveIP() bool {