tape: improve PoolWriter logging

Log reason why we allocate a new media set.
This commit is contained in:
Dietmar Maurer committed 2021-03-05 09:59:38 +01:00
1 parent cf90a369e2
commit 90e16be3ae
3 files changed
+31 -18

No files matched your search

+1 -1
View File
@@ -295,7 +295,7 @@ fn backup_worker(
let pool = MediaPool::with_config(status_path, &pool_config, changer_name)?;
let mut pool_writer = PoolWriter::new(pool, &setup.drive)?;
let mut pool_writer = PoolWriter::new(pool, &setup.drive, worker)?;
let mut group_list = BackupInfo::list_backup_groups(&datastore.base_path())?;