src/client/remote_chunk_reader.rs: remove dead code
This commit is contained in:
parent
7f99bf691a
commit
b2a6897982
@ -22,8 +22,6 @@ impl ReadChunk for RemoteChunkReader {
|
|||||||
|
|
||||||
fn read_chunk(&mut self, digest:&[u8; 32]) -> Result<Vec<u8>, Error> {
|
fn read_chunk(&mut self, digest:&[u8; 32]) -> Result<Vec<u8>, Error> {
|
||||||
|
|
||||||
let digest_str = proxmox::tools::digest_to_hex(digest);
|
|
||||||
|
|
||||||
let writer = Vec::with_capacity(4*1024*1024);
|
let writer = Vec::with_capacity(4*1024*1024);
|
||||||
|
|
||||||
let chunk_data = self.client.download_chunk(&digest, writer).wait()?;
|
let chunk_data = self.client.download_chunk(&digest, writer).wait()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user