Skip to content

Commit

Permalink
fix: logic rules display error
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Aug 6, 2024
1 parent e4646fc commit 5a73d99
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/provider/rule_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5a73d99

Please sign in to comment.