tree-wide: prefer api-type BackupGroup for logging

together with DatastoreWithNamespace where needed, to not forget
namespace information.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2022-05-16 11:00:30 +02:00
committed by Thomas Lamprecht
parent eefa297aa0
commit e13303fca6
5 changed files with 58 additions and 32 deletions

View File

@ -25,7 +25,7 @@ fn run() -> Result<(), Error> {
for group in store.iter_backup_groups(ns)? {
let group = group?;
println!(" found group {}", group);
println!(" found group {}", group.group());
for snapshot in group.iter_snapshots()? {
let snapshot = snapshot?;