BackupDir/BackupGroup: add ns to Debug impl

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-05-16 13:28:52 +02:00 committed by Thomas Lamprecht
parent 7784698948
commit d22363ad08
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ impl fmt::Debug for BackupGroup {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("BackupGroup")
.field("store", &self.store.name())
.field("ns", &self.ns)
.field("group", &self.group)
.finish()
}
@ -293,6 +294,7 @@ impl fmt::Debug for BackupDir {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("BackupDir")
.field("store", &self.store.name())
.field("ns", &self.ns)
.field("dir", &self.dir)
.field("backup_time_string", &self.backup_time_string)
.finish()