refactor(tvix/castore/src/blobservice): remove useless else case
Change-Id: I09000371a1d8ff212ab46050d1a480509c6ffe70 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11183 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
3b1c9172f6
commit
70bbf23767
1 changed files with 3 additions and 4 deletions
|
@ -56,11 +56,10 @@ pub trait BlobService: Send + Sync {
|
|||
async fn chunks(&self, digest: &B3Digest) -> io::Result<Option<Vec<ChunkMeta>>> {
|
||||
if !self.has(digest).await? {
|
||||
return Ok(None);
|
||||
} else {
|
||||
// default implementation, signalling the backend does not have more
|
||||
// granular chunks available.
|
||||
return Ok(Some(vec![]));
|
||||
}
|
||||
// default implementation, signalling the backend does not have more
|
||||
// granular chunks available.
|
||||
Ok(Some(vec![]))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue