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