Skip to content

Commit 498a141

Browse files
authored
Merge pull request #172 from digitalocean/asb/domains-without-ips
Allow creating domains without an IP address.
2 parents a350561 + 5fe4b14 commit 498a141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domains.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type domainsRoot struct {
5252
// DomainCreateRequest respresents a request to create a domain.
5353
type DomainCreateRequest struct {
5454
Name string `json:"name"`
55-
IPAddress string `json:"ip_address"`
55+
IPAddress string `json:"ip_address,omitempty"`
5656
}
5757

5858
// DomainRecordRoot is the root of an individual Domain Record response

0 commit comments

Comments
 (0)