Skip to content

Commit ba68026

Browse files
committed
fix: incorrect field name for enable default user
1 parent af7a771 commit ba68026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

active_active_database_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func TestAADatabase_Update(t *testing.T) {
150150
"enableTls": true,
151151
"globalDataPersistence": "aof-every-1-second",
152152
"globalPassword": "new-password",
153-
"enableDefaultUser": true,
153+
"globalEnableDefaultUser": true,
154154
"globalSourceIp": [
155155
"192.168.1.0/24"
156156
],

service/databases/model_active_active.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ type UpdateActiveActiveDatabase struct {
109109
EnableTls *bool `json:"enableTls,omitempty"`
110110
GlobalDataPersistence *string `json:"globalDataPersistence,omitempty"`
111111
GlobalPassword *string `json:"globalPassword,omitempty"`
112-
GlobalEnableDefaultUser *bool `json:"enableDefaultUser,omitempty"`
112+
GlobalEnableDefaultUser *bool `json:"globalEnableDefaultUser,omitempty"`
113113
GlobalSourceIP []*string `json:"globalSourceIp,omitempty"`
114114
GlobalAlerts *[]*Alert `json:"globalAlerts,omitempty"`
115115
Regions []*LocalRegionProperties `json:"regions,omitempty"`

0 commit comments

Comments
 (0)