Skip to content

Commit 94e386c

Browse files
committed
test(e2e): follow PluginConfigurationList change
Reflect the switch from PluginConfigurationList to []PluginConfiguration in the e2e. Signed-off-by: Francesco Canovai <[email protected]>
1 parent 5cc751f commit 94e386c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/e2e/internal/tests/backup/fixtures.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
285285
Spec: cloudnativepgv1.ClusterSpec{
286286
Instances: 2,
287287
ImagePullPolicy: corev1.PullAlways,
288-
Plugins: cloudnativepgv1.PluginConfigurationList{
288+
Plugins: []cloudnativepgv1.PluginConfiguration{
289289
{
290290
Name: "barman-cloud.cloudnative-pg.io",
291291
Parameters: map[string]string{
@@ -325,7 +325,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
325325
Source: "source",
326326
},
327327
},
328-
Plugins: cloudnativepgv1.PluginConfigurationList{
328+
Plugins: []cloudnativepgv1.PluginConfiguration{
329329
{
330330
Name: "barman-cloud.cloudnative-pg.io",
331331
Parameters: map[string]string{
@@ -431,7 +431,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster {
431431
"log_min_messages": "DEBUG4",
432432
},
433433
},
434-
Plugins: cloudnativepgv1.PluginConfigurationList{
434+
Plugins: []cloudnativepgv1.PluginConfiguration{
435435
{
436436
Name: "barman-cloud.cloudnative-pg.io",
437437
Parameters: map[string]string{
@@ -528,7 +528,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster {
528528
Source: "source",
529529
},
530530
},
531-
Plugins: cloudnativepgv1.PluginConfigurationList{
531+
Plugins: []cloudnativepgv1.PluginConfiguration{
532532
{
533533
Name: "barman-cloud.cloudnative-pg.io",
534534
Parameters: map[string]string{
@@ -624,7 +624,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster {
624624
Source: "source",
625625
},
626626
},
627-
Plugins: cloudnativepgv1.PluginConfigurationList{
627+
Plugins: []cloudnativepgv1.PluginConfiguration{
628628
{
629629
Name: "barman-cloud.cloudnative-pg.io",
630630
Parameters: map[string]string{

test/e2e/internal/tests/replicacluster/fixtures.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster {
112112
Spec: cloudnativepgv1.ClusterSpec{
113113
Instances: 2,
114114
ImagePullPolicy: corev1.PullAlways,
115-
Plugins: cloudnativepgv1.PluginConfigurationList{
115+
Plugins: []cloudnativepgv1.PluginConfiguration{
116116
{
117117
Name: "barman-cloud.cloudnative-pg.io",
118118
Parameters: map[string]string{
@@ -223,7 +223,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster {
223223
Source: "source",
224224
},
225225
},
226-
Plugins: cloudnativepgv1.PluginConfigurationList{
226+
Plugins: []cloudnativepgv1.PluginConfiguration{
227227
{
228228
Name: "barman-cloud.cloudnative-pg.io",
229229
Parameters: map[string]string{

0 commit comments

Comments
 (0)