Skip to content

Commit

Permalink
Merge pull request digitalocean#164 from digitalocean/APICLI-16/priority
Browse files Browse the repository at this point in the history
Allow creating domain records with a priority of 0.
  • Loading branch information
mauricio authored Jun 6, 2018
2 parents 51f18c0 + 491ebce commit a350561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type DomainRecord struct {
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
Data string `json:"data,omitempty"`
Priority int `json:"priority,omitempty"`
Priority int `json:"priority"`
Port int `json:"port,omitempty"`
TTL int `json:"ttl,omitempty"`
Weight int `json:"weight,omitempty"`
Expand All @@ -85,7 +85,7 @@ type DomainRecordEditRequest struct {
Type string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
Data string `json:"data,omitempty"`
Priority int `json:"priority,omitempty"`
Priority int `json:"priority"`
Port int `json:"port,omitempty"`
TTL int `json:"ttl,omitempty"`
Weight int `json:"weight,omitempty"`
Expand Down

0 comments on commit a350561

Please sign in to comment.