Allow creating domain records with a weight of 0.
This commit is contained in:
parent
ddc940d8ef
commit
e419d0b7a8
|
@ -75,7 +75,7 @@ type DomainRecord struct {
|
||||||
Priority int `json:"priority"`
|
Priority int `json:"priority"`
|
||||||
Port int `json:"port,omitempty"`
|
Port int `json:"port,omitempty"`
|
||||||
TTL int `json:"ttl,omitempty"`
|
TTL int `json:"ttl,omitempty"`
|
||||||
Weight int `json:"weight,omitempty"`
|
Weight int `json:"weight"`
|
||||||
Flags int `json:"flags"`
|
Flags int `json:"flags"`
|
||||||
Tag string `json:"tag,omitempty"`
|
Tag string `json:"tag,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ type DomainRecordEditRequest struct {
|
||||||
Priority int `json:"priority"`
|
Priority int `json:"priority"`
|
||||||
Port int `json:"port,omitempty"`
|
Port int `json:"port,omitempty"`
|
||||||
TTL int `json:"ttl,omitempty"`
|
TTL int `json:"ttl,omitempty"`
|
||||||
Weight int `json:"weight,omitempty"`
|
Weight int `json:"weight"`
|
||||||
Flags int `json:"flags"`
|
Flags int `json:"flags"`
|
||||||
Tag string `json:"tag,omitempty"`
|
Tag string `json:"tag,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue