From af07ec8f29ae22d1a4d99ea33b0015dc5c2cf580 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 14 Dec 2020 16:56:26 +0100 Subject: [PATCH] tape: minor code cleanup --- src/bin/proxmox-tape.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/proxmox-tape.rs b/src/bin/proxmox-tape.rs index 4f680e5c..9ed9aca9 100644 --- a/src/bin/proxmox-tape.rs +++ b/src/bin/proxmox-tape.rs @@ -10,7 +10,6 @@ use proxmox::{ section_config::SectionConfigData, }, tools::{ - Uuid, time::strftime_local, io::ReadExt, }, @@ -491,7 +490,7 @@ fn debug_scan(param: Value) -> Result<(), Error> { } else { if let Some(name) = PROXMOX_BACKUP_CONTENT_NAME.get(&header.content_magic) { println!("got content header: {}", name); - println!(" uuid: {}", Uuid::from(header.uuid)); + println!(" uuid: {}", header.content_uuid()); println!(" ctime: {}", strftime_local("%c", header.ctime)?); println!(" hsize: {}", HumanByte::from(header.size as usize)); println!(" part: {}", header.part_number);