Skip to content

Commit 96276cc

Browse files
committed
feat: adding redisversion to active active database model
1 parent d996e18 commit 96276cc

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/).
44

5+
## 0.34.0
6+
7+
### Added:
8+
* Adding field `RedisVersion` to Redis Active Active subscription
9+
510
## 0.33.0
611

712
### Added:

active_active_database_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func TestAADatabase_List(t *testing.T) {
2323
{
2424
"databaseId": 1466,
2525
"name": "creation-plan-db-1",
26+
"redisVersion": "7.2",
2627
"protocol": "redis",
2728
"status": "active",
2829
"memoryStorage": "ram",
@@ -165,6 +166,7 @@ func TestAADatabase_List(t *testing.T) {
165166
ID: redis.Int(1466),
166167
Name: redis.String("creation-plan-db-1"),
167168
Protocol: redis.String("redis"),
169+
RedisVersion: redis.String("7.2"),
168170
Status: redis.String("active"),
169171
MemoryStorage: redis.String("ram"),
170172
ActiveActiveRedis: redis.Bool(true),

service/databases/model_active_active.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ type ActiveActiveDatabase struct {
1111
Name *string `json:"name,omitempty"`
1212
Protocol *string `json:"protocol,omitempty"`
1313
Status *string `json:"status,omitempty"`
14+
RedisVersion *string `json:"redisVersion,omitempty"`
1415
MemoryStorage *string `json:"memoryStorage,omitempty"`
1516
ActiveActiveRedis *bool `json:"activeActiveRedis,omitempty"`
1617
ActivatedOn *time.Time `json:"activatedOn,omitempty"`

0 commit comments

Comments
 (0)