From d22363ad089ba2b2f7b9b3320b659a51569a5ba7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 16 May 2022 13:28:52 +0200 Subject: [PATCH] BackupDir/BackupGroup: add ns to Debug impl MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- pbs-datastore/src/backup_info.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pbs-datastore/src/backup_info.rs b/pbs-datastore/src/backup_info.rs index 87892fad..7fddc716 100644 --- a/pbs-datastore/src/backup_info.rs +++ b/pbs-datastore/src/backup_info.rs @@ -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() -- 2.39.2