ui: move SetDryRun to ProgressReporter

This commit is contained in:
Michael Eischer committed 2021-09-12 15:25:58 +02:00
1 parent 77b129ec74
commit d62bfed65d
4 files changed
+13 -19

No files matched your search

+1 -1
View File
@@ -537,7 +537,7 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
if opts.DryRun {
repo.SetDryRun()
progressPrinter.SetDryRun()
progressReporter.SetDryRun()
}
// use the terminal for stdout/stderr