diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/serve_api/remote/serve_api.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/buildtool/serve_api/remote/serve_api.hpp b/src/buildtool/serve_api/remote/serve_api.hpp index 64cef24c..d6f15c3d 100644 --- a/src/buildtool/serve_api/remote/serve_api.hpp +++ b/src/buildtool/serve_api/remote/serve_api.hpp @@ -51,7 +51,9 @@ class ServeApi final { &local_context->storage_config->hash_function, remote_context}, tc_{address, local_context->storage, remote_context, apis}, - cc_{address, remote_context} {} + cc_{address, remote_context}, + storage_config_{*local_context->storage_config}, + apis_{*apis} {} ~ServeApi() noexcept = default; ServeApi(ServeApi const&) = delete; @@ -166,6 +168,9 @@ class ServeApi final { TargetClient const tc_; // configuration service client ConfigurationClient const cc_; + + StorageConfig const& storage_config_; + ApiBundle const& apis_; }; #endif // BOOTSTRAP_BUILD_TOOL |