Skip to content

Commit

Permalink
Fix report of velero restores (#297)
Browse files Browse the repository at this point in the history
The dump function dumped backups also for restores

Signed-off-by: Shelly Kagan <[email protected]>
Co-authored-by: Shelly Kagan <[email protected]>
  • Loading branch information
kubevirt-bot and ShellyKa13 authored Nov 19, 2024
1 parent a8423da commit 9ee03b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9ee03b4

Please sign in to comment.