Fix logical dns rule

This commit is contained in:
世界 2024-11-14 13:00:20 +08:00
parent 5139e5232e
commit 2fb041ac9a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

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)
}