Fix logical dns rule

This commit is contained in:
世界
2024-11-14 13:00:20 +08:00
parent 5139e5232e
commit 2fb041ac9a

View File

@@ -146,7 +146,7 @@ type LogicalDNSRule struct {
DNSRuleAction
}
func (r *LogicalDNSRule) MarshalJSON() ([]byte, error) {
func (r LogicalDNSRule) MarshalJSON() ([]byte, error) {
return badjson.MarshallObjects(r.RawLogicalDNSRule, r.DNSRuleAction)
}