@@ -122,7 +122,7 @@ func TestGenerateHBA(t *testing.T) {
122
122
}{
123
123
{
124
124
DefaultSUReplAccessMode : cluster .SUReplAccessAll ,
125
- dbUID : "db1" ,
125
+ dbUID : "db1" ,
126
126
out : []string {
127
127
"local postgres superuser md5" ,
128
128
"local replication repluser md5" ,
@@ -136,7 +136,7 @@ func TestGenerateHBA(t *testing.T) {
136
136
},
137
137
{
138
138
DefaultSUReplAccessMode : cluster .SUReplAccessAll ,
139
- dbUID : "db2" ,
139
+ dbUID : "db2" ,
140
140
out : []string {
141
141
"local postgres superuser md5" ,
142
142
"local replication repluser md5" ,
@@ -150,7 +150,7 @@ func TestGenerateHBA(t *testing.T) {
150
150
},
151
151
{
152
152
DefaultSUReplAccessMode : cluster .SUReplAccessAll ,
153
- dbUID : "db1" ,
153
+ dbUID : "db1" ,
154
154
pgHBA : []string {
155
155
"host all all 192.168.0.0/24 md5" ,
156
156
},
@@ -166,7 +166,7 @@ func TestGenerateHBA(t *testing.T) {
166
166
},
167
167
{
168
168
DefaultSUReplAccessMode : cluster .SUReplAccessAll ,
169
- dbUID : "db2" ,
169
+ dbUID : "db2" ,
170
170
pgHBA : []string {
171
171
"host all all 192.168.0.0/24 md5" ,
172
172
},
@@ -182,7 +182,7 @@ func TestGenerateHBA(t *testing.T) {
182
182
},
183
183
{
184
184
DefaultSUReplAccessMode : cluster .SUReplAccessStrict ,
185
- dbUID : "db1" ,
185
+ dbUID : "db1" ,
186
186
out : []string {
187
187
"local postgres superuser md5" ,
188
188
"local replication repluser md5" ,
@@ -194,7 +194,7 @@ func TestGenerateHBA(t *testing.T) {
194
194
},
195
195
{
196
196
DefaultSUReplAccessMode : cluster .SUReplAccessStrict ,
197
- dbUID : "db2" ,
197
+ dbUID : "db2" ,
198
198
out : []string {
199
199
"local postgres superuser md5" ,
200
200
"local replication repluser md5" ,
0 commit comments