From 0b99e5aebc5ffadadcd0aa044727f20080c2e034 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 22 Jun 2020 16:44:15 +0200 Subject: [PATCH] remove debug prints Signed-off-by: Dominik Csapak --- src/backup/read_chunk.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/backup/read_chunk.rs b/src/backup/read_chunk.rs index 35095e64..2f344e1d 100644 --- a/src/backup/read_chunk.rs +++ b/src/backup/read_chunk.rs @@ -33,9 +33,6 @@ impl LocalChunkReader { impl ReadChunk for LocalChunkReader { fn read_raw_chunk(&mut self, digest: &[u8; 32]) -> Result { - let digest_str = proxmox::tools::digest_to_hex(digest); - println!("READ CHUNK {}", digest_str); - let (path, _) = self.store.chunk_path(digest); let raw_data = proxmox::tools::fs::file_get_contents(&path)?; let chunk = DataBlob::from_raw(raw_data)?; @@ -75,9 +72,6 @@ impl AsyncReadChunk for LocalChunkReader { digest: &'a [u8; 32], ) -> Pin> + Send + 'a>> { Box::pin(async move{ - let digest_str = proxmox::tools::digest_to_hex(digest); - println!("READ CHUNK {}", digest_str); - let (path, _) = self.store.chunk_path(digest); let raw_data = tokio::fs::read(&path).await?;