Skip to content

Commit

Permalink
Merge pull request digitalocean#172 from digitalocean/asb/domains-wit…
Browse files Browse the repository at this point in the history
…hout-ips

Allow creating domains without an IP address.
  • Loading branch information
mauricio authored Aug 7, 2018
2 parents a350561 + 5fe4b14 commit 498a141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type domainsRoot struct {
// DomainCreateRequest respresents a request to create a domain.
type DomainCreateRequest struct {
Name string `json:"name"`
IPAddress string `json:"ip_address"`
IPAddress string `json:"ip_address,omitempty"`
}

// DomainRecordRoot is the root of an individual Domain Record response
Expand Down

0 comments on commit 498a141

Please sign in to comment.