From de3ef374983d987d8ffd8e8516a4877fe68b3e4e Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 8 Jul 2024 16:50:01 +0200 Subject: Use RemoteExecutionConfig instances stored in ApiBundle ...wherever an ApiBundle is already being passed. --- src/buildtool/serve_api/serve_service/target.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/serve_api/serve_service/target.cpp') diff --git a/src/buildtool/serve_api/serve_service/target.cpp b/src/buildtool/serve_api/serve_service/target.cpp index 707ed067..cbd62bda 100644 --- a/src/buildtool/serve_api/serve_service/target.cpp +++ b/src/buildtool/serve_api/serve_service/target.cpp @@ -138,7 +138,7 @@ auto TargetService::ServeTarget( } // start filling in the backend description - auto const address = RemoteExecutionConfig::RemoteAddress(); + auto const address = apis_.remote_config.RemoteAddress(); // read in the execution properties. // Important: we will need to pass these platform properties also to the // executor (via the graph_traverser) in order for the build to be properly @@ -480,7 +480,7 @@ auto TargetService::ServeTarget( &local_exec_config_, &repository_config, &apis_.auth, - &RemoteExecutionConfig::Instance()}; + &apis_.remote_config}; GraphTraverser const traverser{ std::move(traverser_args), &repository_config, -- cgit v1.2.3