Skip to content

Commit 067c3d2

Browse files
dsessler7cbandy
andcommitted
Update internal/pgbackrest/config_test.go
Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
1 parent 6f10b44 commit 067c3d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/pgbackrest/config_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ log-timestamp = n
341341
func TestServerConfigIPv6(t *testing.T) {
342342
cluster := &v1beta1.PostgresCluster{}
343343
cluster.UID = "shoe"
344-
annotations := map[string]string{}
345-
annotations[naming.PGBackRestIPVersion] = "IPv6"
346-
cluster.ObjectMeta.Annotations = annotations
344+
cluster.Annotations = map[string]string{
345+
naming.PGBackRestIPVersion: "IPv6",
346+
}
347347

348348
assert.Equal(t, serverConfig(cluster).String(), `
349349
[global]

0 commit comments

Comments
 (0)