diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-26 16:44:13 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-30 12:10:06 +0200 |
commit | 6089297787902f9a38a678e2ffdf639e779a1594 (patch) | |
tree | 82e2d49d283c29b0b8f65d9ef8066832e0855d25 /src/buildtool/execution_api/common/api_bundle.cpp | |
parent | d1293c8f9147375fa70d5dce1c0d38988300bc95 (diff) | |
download | justbuild-6089297787902f9a38a678e2ffdf639e779a1594.tar.gz |
ApiBundle: Remove deprecated fields now used via RemoteContext
Diffstat (limited to 'src/buildtool/execution_api/common/api_bundle.cpp')
-rw-r--r-- | src/buildtool/execution_api/common/api_bundle.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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<LocalContext const*> const& local_context, gsl::not_null<RemoteContext const*> 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<LocalApi>(local_context, repo_config)}, remote{CreateRemote(remote_context->exec_config->remote_address, remote_context->auth, |