tape: rename DriveLabel to MediaLabel

This commit is contained in:
Dietmar Maurer
2020-12-14 17:37:16 +01:00
parent 410611b4f2
commit a78348acbb
5 changed files with 25 additions and 25 deletions

View File

@ -28,7 +28,7 @@ use crate::{
Inventory,
MediaStateDatabase,
file_formats::{
DriveLabel,
MediaLabel,
MediaSetLabel,
},
}
@ -467,7 +467,7 @@ impl BackupMedia {
}
/// Returns the drive label
pub fn label(&self) -> &DriveLabel {
pub fn label(&self) -> &MediaLabel {
&self.id.label
}