We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f10b44 commit 067c3d2Copy full SHA for 067c3d2
internal/pgbackrest/config_test.go
@@ -341,9 +341,9 @@ log-timestamp = n
341
func TestServerConfigIPv6(t *testing.T) {
342
cluster := &v1beta1.PostgresCluster{}
343
cluster.UID = "shoe"
344
- annotations := map[string]string{}
345
- annotations[naming.PGBackRestIPVersion] = "IPv6"
346
- cluster.ObjectMeta.Annotations = annotations
+ cluster.Annotations = map[string]string{
+ naming.PGBackRestIPVersion: "IPv6",
+ }
347
348
assert.Equal(t, serverConfig(cluster).String(), `
349
[global]
0 commit comments