From ab0e0b86fff94bed224f894be6b555272857e336 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 29 Jul 2024 17:11:53 +0200 Subject: Pass LocalContext to ApiBundle --- src/buildtool/execution_api/common/api_bundle.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/buildtool/execution_api/common/api_bundle.hpp') diff --git a/src/buildtool/execution_api/common/api_bundle.hpp b/src/buildtool/execution_api/common/api_bundle.hpp index baa4594b..d6cf4423 100644 --- a/src/buildtool/execution_api/common/api_bundle.hpp +++ b/src/buildtool/execution_api/common/api_bundle.hpp @@ -25,19 +25,15 @@ #include "src/buildtool/common/repository_config.hpp" #include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/common/execution_api.hpp" -#include "src/buildtool/execution_api/local/config.hpp" +#include "src/buildtool/execution_api/local/context.hpp" #include "src/buildtool/execution_api/remote/config.hpp" -#include "src/buildtool/storage/config.hpp" -#include "src/buildtool/storage/storage.hpp" /// \brief Utility structure for instantiation of local and remote apis at the /// same time. If the remote api cannot be instantiated, it falls back to /// exactly the same instance that local api is (&*remote == & *local). struct ApiBundle final { explicit ApiBundle( - gsl::not_null const& storage_config, - gsl::not_null const& storage, - gsl::not_null const& local_exec_config, + gsl::not_null const& local_context, RepositoryConfig const* repo_config, gsl::not_null const& authentication, gsl::not_null const& retry_config, -- cgit v1.2.3