Fix logical dns rule

This commit is contained in:
世界 2024-11-14 13:00:20 +08:00
parent c6962605e9
commit a98b0341f3
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)
}