File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/).
44
55## 0.1.7 (unreleased)
66
7+ ### Removed
8+
9+ * Removed the PersistentStorageEncryption (deprecated) field from the API calls.
10+
711## 0.1.6 (January 14 2022)
812
913### Added
Original file line number Diff line number Diff line change @@ -7,13 +7,12 @@ import (
77)
88
99type CreateSubscription struct {
10- Name * string `json:"name,omitempty"`
11- DryRun * bool `json:"dryRun,omitempty"`
12- PaymentMethodID * int `json:"paymentMethodId,omitempty"`
13- MemoryStorage * string `json:"memoryStorage,omitempty"`
14- PersistentStorageEncryption * bool `json:"persistentStorageEncryption,omitempty"`
15- CloudProviders []* CreateCloudProvider `json:"cloudProviders,omitempty"`
16- Databases []* CreateDatabase `json:"databases,omitempty"`
10+ Name * string `json:"name,omitempty"`
11+ DryRun * bool `json:"dryRun,omitempty"`
12+ PaymentMethodID * int `json:"paymentMethodId,omitempty"`
13+ MemoryStorage * string `json:"memoryStorage,omitempty"`
14+ CloudProviders []* CreateCloudProvider `json:"cloudProviders,omitempty"`
15+ Databases []* CreateDatabase `json:"databases,omitempty"`
1716}
1817
1918func (o CreateSubscription ) String () string {
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ func TestSubscription_Create(t *testing.T) {
2020 "dryRun": false,
2121 "paymentMethodId": 2,
2222 "memoryStorage": "ram",
23- "persistentStorageEncryption": false,
2423 "cloudProviders": [
2524 {
2625 "provider": "AWS",
@@ -104,11 +103,10 @@ func TestSubscription_Create(t *testing.T) {
104103 require .NoError (t , err )
105104
106105 actual , err := subject .Subscription .Create (context .TODO (), subscriptions.CreateSubscription {
107- Name : redis .String ("Test subscription" ),
108- DryRun : redis .Bool (false ),
109- PaymentMethodID : redis .Int (2 ),
110- MemoryStorage : redis .String ("ram" ),
111- PersistentStorageEncryption : redis .Bool (false ),
106+ Name : redis .String ("Test subscription" ),
107+ DryRun : redis .Bool (false ),
108+ PaymentMethodID : redis .Int (2 ),
109+ MemoryStorage : redis .String ("ram" ),
112110 CloudProviders : []* subscriptions.CreateCloudProvider {
113111 {
114112 Provider : redis .String ("AWS" ),
You can’t perform that action at this time.
0 commit comments