fix: logic rules display error

This commit is contained in:
xishang0128 2024-08-06 16:30:44 +08:00
parent e4646fc3d2
commit 5a73d99c6f

View File

@ -40,10 +40,7 @@ func (rs *RuleSet) Adapter() string {
} }
func (rs *RuleSet) Payload() string { func (rs *RuleSet) Payload() string {
if provider, ok := rs.getProvider(); ok { return rs.ruleProviderName
return provider.Name()
}
return ""
} }
func (rs *RuleSet) ShouldResolveIP() bool { func (rs *RuleSet) ShouldResolveIP() bool {