Skip to content

Commit 5a73d99

Browse files
committed
fix: logic rules display error
1 parent e4646fc commit 5a73d99

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rules/provider/rule_set.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ func (rs *RuleSet) Adapter() string {
4040
}
4141

4242
func (rs *RuleSet) Payload() string {
43-
if provider, ok := rs.getProvider(); ok {
44-
return provider.Name()
45-
}
46-
return ""
43+
return rs.ruleProviderName
4744
}
4845

4946
func (rs *RuleSet) ShouldResolveIP() bool {

0 commit comments

Comments
 (0)