Skip to content

Commit

Permalink
Merge pull request #222 from ns1/INBOX-2663/empty_tags_not_passed
Browse files Browse the repository at this point in the history
v2.7.13
  • Loading branch information
ponbiki authored Oct 18, 2023
2 parents 916412b + 5ef3e62 commit 3520e92
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.7.13 (October 12th, 2023)

BUG FIXES:

* Remove `omitempty` from `tags` to allow POST without `tags` after update 2.7.12

## 2.7.12 (October 11th, 2023)

BUG FIXES:
Expand Down
2 changes: 1 addition & 1 deletion rest/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
clientVersion = "2.7.12"
clientVersion = "2.7.13"

defaultEndpoint = "https://api.nsone.net/v1/"
defaultShouldFollowPagination = true
Expand Down
2 changes: 1 addition & 1 deletion rest/model/dns/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Record struct {
Regions data.Regions `json:"regions,omitempty"`

// Contains the key/value tag information associated to the record
Tags map[string]string `json:"tags,omitempty"` // Only relevant for DDI
Tags map[string]string `json:"tags"` // Only relevant for DDI

// List of tag key names that should not inherit from the parent zone
BlockedTags []string `json:"blocked_tags"` //Only relevant for DDI
Expand Down

0 comments on commit 3520e92

Please sign in to comment.