Skip to content

Commit 60457db

Browse files
Excluded the empty records parameter for DNS reservation
1 parent 07dd092 commit 60457db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onefuse/api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ type DNSReservation struct {
165165
Value string `json:"value,omitempty"`
166166
Zones []string `json:"zones,omitempty"`
167167
TemplateProperties map[string]interface{} `json:"templateProperties"`
168-
Records []map[string]string `json:"records"`
168+
Records []map[string]string `json:"records,omitempty"`
169169
}
170170

171171
type IPAMReservation struct {

0 commit comments

Comments
 (0)