chore(tvix/store/protos): drop unused fields for now
This wasn't removed yet, and no code is using/populating it so far. It's confusing, let's update it to the state of things now, and re- introduce it once we get there. Change-Id: I68f5ba17a8eee604d8ccd82749da7c8be094cb99 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9351 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
bf2fe88a5c
commit
ca25acf11b
5 changed files with 51 additions and 218 deletions
|
|
@ -96,7 +96,6 @@ impl BlobService for GRPCBlobService {
|
|||
let resp = grpc_client
|
||||
.stat(proto::StatBlobRequest {
|
||||
digest: digest.clone().into(),
|
||||
..Default::default()
|
||||
})
|
||||
.await;
|
||||
|
||||
|
|
|
|||
|
|
@ -100,10 +100,6 @@ impl super::blob_service_server::BlobService for GRPCBlobServiceWrapper {
|
|||
.try_into()
|
||||
.map_err(|_e| Status::invalid_argument("invalid digest length"))?;
|
||||
|
||||
if rq.include_chunks || rq.include_bao {
|
||||
return Err(Status::internal("not implemented"));
|
||||
}
|
||||
|
||||
match self.blob_service.has(&req_digest).await {
|
||||
Ok(true) => Ok(Response::new(super::BlobMeta::default())),
|
||||
Ok(false) => Err(Status::not_found(format!("blob {} not found", &req_digest))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue