fix(tix/castore/blobservice): don't warn if chunk list is empty
It's perfectly normal if we ask for more granular chunking info and the backend responds it does not have it. Change-Id: I593ab3e53b4f4e70c99f39b266546d2ac8eb10c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11437 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
7156697010
commit
9dc621cd95
1 changed files with 1 additions and 4 deletions
|
@ -13,7 +13,7 @@ use tokio_util::{
|
|||
sync::PollSender,
|
||||
};
|
||||
use tonic::{async_trait, transport::Channel, Code, Status};
|
||||
use tracing::{instrument, warn};
|
||||
use tracing::instrument;
|
||||
|
||||
/// Connects to a (remote) tvix-store BlobService over gRPC.
|
||||
#[derive(Clone)]
|
||||
|
@ -161,9 +161,6 @@ impl BlobService for GRPCBlobService {
|
|||
resp.validate()
|
||||
.map_err(|e| std::io::Error::new(io::ErrorKind::InvalidData, e))?;
|
||||
|
||||
if resp.chunks.is_empty() {
|
||||
warn!("chunk list is empty");
|
||||
}
|
||||
Ok(Some(resp.chunks))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue