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/).
4
4
5
5
## 0.1.7 (unreleased)
6
6
7
+ ### Removed
8
+
9
+ * Removed the PersistentStorageEncryption (deprecated) field from the API calls.
10
+
7
11
## 0.1.6 (January 14 2022)
8
12
9
13
### Added
Original file line number Diff line number Diff line change @@ -7,13 +7,12 @@ import (
7
7
)
8
8
9
9
type 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"`
17
16
}
18
17
19
18
func (o CreateSubscription ) String () string {
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ func TestSubscription_Create(t *testing.T) {
20
20
"dryRun": false,
21
21
"paymentMethodId": 2,
22
22
"memoryStorage": "ram",
23
- "persistentStorageEncryption": false,
24
23
"cloudProviders": [
25
24
{
26
25
"provider": "AWS",
@@ -104,11 +103,10 @@ func TestSubscription_Create(t *testing.T) {
104
103
require .NoError (t , err )
105
104
106
105
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" ),
112
110
CloudProviders : []* subscriptions.CreateCloudProvider {
113
111
{
114
112
Provider : redis .String ("AWS" ),
You can’t perform that action at this time.
0 commit comments