summaryrefslogtreecommitdiff
path: root/src/buildtool/serve_api/serve_service/target.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/serve_api/serve_service/target.cpp')
-rw-r--r--src/buildtool/serve_api/serve_service/target.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/serve_api/serve_service/target.cpp b/src/buildtool/serve_api/serve_service/target.cpp
index 019a258b..6b46dbea 100644
--- a/src/buildtool/serve_api/serve_service/target.cpp
+++ b/src/buildtool/serve_api/serve_service/target.cpp
@@ -224,8 +224,8 @@ auto TargetService::ServeTarget(
}
// get a target cache instance with the correct computed shard
- auto const tc = local_context_.storage->TargetCache().WithShard(
- execution_backend_dgst->hash());
+ auto const tc =
+ local_context_.storage->TargetCache().WithShard(*description);
auto const tc_key =
TargetCacheKey{{*target_cache_key_digest, ObjectType::File}};