diff --git a/test/e2e/internal/tests/backup/fixtures.go b/test/e2e/internal/tests/backup/fixtures.go index 1f3b870..bb12cf5 100644 --- a/test/e2e/internal/tests/backup/fixtures.go +++ b/test/e2e/internal/tests/backup/fixtures.go @@ -285,7 +285,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Spec: cloudnativepgv1.ClusterSpec{ Instances: 2, ImagePullPolicy: corev1.PullAlways, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -325,7 +325,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -431,7 +431,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster { "log_min_messages": "DEBUG4", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -528,7 +528,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -624,7 +624,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ diff --git a/test/e2e/internal/tests/replicacluster/fixtures.go b/test/e2e/internal/tests/replicacluster/fixtures.go index 50d3624..79e386d 100644 --- a/test/e2e/internal/tests/replicacluster/fixtures.go +++ b/test/e2e/internal/tests/replicacluster/fixtures.go @@ -112,7 +112,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster { Spec: cloudnativepgv1.ClusterSpec{ Instances: 2, ImagePullPolicy: corev1.PullAlways, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -223,7 +223,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{