Skip to content

Commit

Permalink
domains: Allow for SRV records with port 0. (digitalocean#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Aug 6, 2020
1 parent 4b6e056 commit 3714c56
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 @@ -77,7 +77,7 @@ type DomainRecord struct {
Name string `json:"name,omitempty"`
Data string `json:"data,omitempty"`
Priority int `json:"priority"`
Port int `json:"port,omitempty"`
Port int `json:"port"`
TTL int `json:"ttl,omitempty"`
Weight int `json:"weight"`
Flags int `json:"flags"`
Expand All @@ -90,7 +90,7 @@ type DomainRecordEditRequest struct {
Name string `json:"name,omitempty"`
Data string `json:"data,omitempty"`
Priority int `json:"priority"`
Port int `json:"port,omitempty"`
Port int `json:"port"`
TTL int `json:"ttl,omitempty"`
Weight int `json:"weight"`
Flags int `json:"flags"`
Expand Down

0 comments on commit 3714c56

Please sign in to comment.