From b22a8ffe01ffc84131a3645c353407d2e30f2025 Mon Sep 17 00:00:00 2001 From: Shelly Kagan Date: Mon, 18 Nov 2024 17:41:44 +0200 Subject: [PATCH] Fix report of velero restores The dump function dumped backups also for restores Signed-off-by: Shelly Kagan --- tests/framework/framework.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/framework/framework.go b/tests/framework/framework.go index e4f31fdf..7448cadf 100644 --- a/tests/framework/framework.go +++ b/tests/framework/framework.go @@ -476,7 +476,7 @@ func (r *KubernetesReporter) logBackups(kubeCli kubernetes.Interface) { } func (r *KubernetesReporter) logRestores(kubeCli kubernetes.Interface) { - r.dumpK8sEntityToFile(kubeCli, veleroRestore, fmt.Sprintf(veleroEntityUriTemplate, v1.NamespaceAll, veleroBackup)) + r.dumpK8sEntityToFile(kubeCli, veleroRestore, fmt.Sprintf(veleroEntityUriTemplate, v1.NamespaceAll, veleroRestore)) } func (r *KubernetesReporter) logVolumeSnapshots(kubeCli kubernetes.Interface) {