]> git.proxmox.com Git - proxmox-backup.git/commitdiff
BackupDir/BackupGroup: add ns to Debug impl
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 16 May 2022 11:28:52 +0000 (13:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 May 2022 16:49:19 +0000 (18:49 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
pbs-datastore/src/backup_info.rs

index 87892fad4f4ec3e7bcc1586fcc5b77b2482e2752..7fddc716ef10319960c6bd9865a39a30ee3b5d0f 100644 (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()