From 62d204ff4cc94c12c1635f189255710901682825 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 12 Jul 2024 16:09:28 +0200 Subject: Remove the RemoteExecutionConfig singleton ...and replace it with passed instances created early via a builder pattern. Tests are also updated accordingly. --- src/buildtool/execution_api/common/api_bundle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 d9a588a3..7cb307eb 100644 --- a/src/buildtool/execution_api/common/api_bundle.cpp +++ b/src/buildtool/execution_api/common/api_bundle.cpp @@ -31,7 +31,7 @@ ApiBundle::ApiBundle( repo_config)}, // needed by remote auth{*authentication}, // needed by remote remote_config{*remote_exec_config}, // needed by remote - remote{CreateRemote(remote_exec_config->RemoteAddress())} {} + remote{CreateRemote(remote_exec_config->remote_address)} {} auto ApiBundle::CreateRemote(std::optional const& address) const -> gsl::not_null { -- cgit v1.2.3