Skip to content

Commit

Permalink
Updates database model to not exclude replicaOf attribute if empty (#44)
Browse files Browse the repository at this point in the history
* Updates database model to not exclude replicaOf attribute if empty

* Updates CHANGELOG.md to relfact lastest changes
  • Loading branch information
trentrosenbaum authored Jun 15, 2021
1 parent b41c60d commit b62f7bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
All notable changes to this project will be documented in this file.
See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/).

## 0.2.0 (Unreleased)
## 0.1.4 (Unreleased)

### Changed
* Changed the UpdateDatabase struct to allow replicaOf to be set as empty array

## 0.1.3

Expand Down
2 changes: 1 addition & 1 deletion service/databases/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ type UpdateDatabase struct {
ThroughputMeasurement *UpdateThroughputMeasurement `json:"throughputMeasurement,omitempty"`
RegexRules []*string `json:"regexRules,omitempty"`
DataPersistence *string `json:"dataPersistence,omitempty"`
ReplicaOf []*string `json:"replicaOf,omitempty"`
ReplicaOf []*string `json:"replicaOf"`
PeriodicBackupPath *string `json:"periodicBackupPath,omitempty"`
SourceIP []*string `json:"sourceIp,omitempty"`
ClientSSLCertificate *string `json:"clientSslCertificate,omitempty"`
Expand Down

0 comments on commit b62f7bf

Please sign in to comment.