Skip to content

Commit

Permalink
Update grpc_store.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
asr2003 authored Dec 14, 2024
1 parent 135bfde commit 792fe41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nativelink-store/src/grpc_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl GrpcStore {

fn get_read_request(&self, mut request: ReadRequest) -> Result<ReadRequest, Error> {
const IS_UPLOAD_FALSE: bool = false;
let mut resource_info = ResourceInfo::new(&request.resource_name, IS_UPLOAD_FALSE)?;
let resource_info = ResourceInfo::new(&request.resource_name, IS_UPLOAD_FALSE)?;
if resource_info.instance_name != self.instance_name {
resource_info.instance_name = Cow::Borrowed(&self.instance_name);
request.resource_name = resource_info.to_string(IS_UPLOAD_FALSE);
Expand Down

0 comments on commit 792fe41

Please sign in to comment.