From 6089297787902f9a38a678e2ffdf639e779a1594 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 26 Jul 2024 16:44:13 +0200 Subject: ApiBundle: Remove deprecated fields now used via RemoteContext --- src/buildtool/execution_api/common/api_bundle.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/buildtool/execution_api/common/api_bundle.cpp') diff --git a/src/buildtool/execution_api/common/api_bundle.cpp b/src/buildtool/execution_api/common/api_bundle.cpp index f587a91b..15e84440 100644 --- a/src/buildtool/execution_api/common/api_bundle.cpp +++ b/src/buildtool/execution_api/common/api_bundle.cpp @@ -21,10 +21,7 @@ ApiBundle::ApiBundle(gsl::not_null const& local_context, gsl::not_null const& remote_context, RepositoryConfig const* repo_config) - : auth{*remote_context->auth}, - retry_config{*remote_context->retry_config}, - remote_config{*remote_context->exec_config}, - hash_function{local_context->storage_config->hash_function}, + : hash_function{local_context->storage_config->hash_function}, local{std::make_shared(local_context, repo_config)}, remote{CreateRemote(remote_context->exec_config->remote_address, remote_context->auth, -- cgit v1.2.3