diff --git a/pkg/testworkflows/testworkflowprocessor/processor.go b/pkg/testworkflows/testworkflowprocessor/processor.go index 9b65608d5f..870eed6df6 100644 --- a/pkg/testworkflows/testworkflowprocessor/processor.go +++ b/pkg/testworkflows/testworkflowprocessor/processor.go @@ -176,8 +176,7 @@ func (p *processor) Bundle(ctx context.Context, workflow *testworkflowsv1.TestWo return nil, errors.Wrap(err, "finalizing Pvc") } } - pvcNames := common.MapSlice(pvcs, func(p corev1.PersistentVolumeClaim) string { return p.Name }) - options.Config.Execution.PvcNames = pvcNames + options.Config.Execution.PvcNames = common.MapSlice(pvcs, func(p corev1.PersistentVolumeClaim) string { return p.Name }) // Finalize Secrets secrets := append(layer.Secrets(), options.Secrets...)