summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/execution_service/server_implementation.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-20 12:50:02 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-06-25 13:59:48 +0200
commitc2817da6d108acc38f17bf29900aa66d71337b34 (patch)
tree67a01416fe0ca645fc2957f6c33cbb987cded3a2 /src/buildtool/execution_api/execution_service/server_implementation.cpp
parenta08816fe82c04fbbc459d10b410efca27d260a20 (diff)
downloadjustbuild-c2817da6d108acc38f17bf29900aa66d71337b34.tar.gz
Pass ApiBundle to ServerImpl
Diffstat (limited to 'src/buildtool/execution_api/execution_service/server_implementation.cpp')
-rw-r--r--src/buildtool/execution_api/execution_service/server_implementation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/execution_service/server_implementation.cpp b/src/buildtool/execution_api/execution_service/server_implementation.cpp
index 57a03133..7a9745db 100644
--- a/src/buildtool/execution_api/execution_service/server_implementation.cpp
+++ b/src/buildtool/execution_api/execution_service/server_implementation.cpp
@@ -54,8 +54,8 @@ auto TryWrite(std::string const& file, T const& content) noexcept -> bool {
}
} // namespace
-auto ServerImpl::Run() -> bool {
- ExecutionServiceImpl es{};
+auto ServerImpl::Run(ApiBundle const& apis) -> bool {
+ ExecutionServiceImpl es{&*apis.local};
ActionCacheServiceImpl ac{};
CASServiceImpl cas{};
BytestreamServiceImpl b{};