diff --git a/pbs-datastore/src/backup_info.rs b/pbs-datastore/src/backup_info.rs index f8ac099f..68f8dad1 100644 --- a/pbs-datastore/src/backup_info.rs +++ b/pbs-datastore/src/backup_info.rs @@ -597,20 +597,6 @@ impl From for pbs_api_types::BackupDir { } } -impl fmt::Display for BackupDir { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - if self.ns.is_root() { - write!(f, "{}/{}", self.dir.group, self.backup_time_string) - } else { - write!( - f, - "[{}]:{}/{}", - self.ns, self.dir.group, self.backup_time_string - ) - } - } -} - /// Detailed Backup Information, lists files inside a BackupDir #[derive(Clone, Debug)] pub struct BackupInfo {