diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-08 16:50:01 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-16 17:51:12 +0200 |
commit | de3ef374983d987d8ffd8e8516a4877fe68b3e4e (patch) | |
tree | c430a4e73e8ce33e796b5e67eda577bf0b22178a /src/buildtool/serve_api/serve_service/target.cpp | |
parent | 57b7ec186b740b94df030e2f064c28148dd30749 (diff) | |
download | justbuild-de3ef374983d987d8ffd8e8516a4877fe68b3e4e.tar.gz |
Use RemoteExecutionConfig instances stored in ApiBundle
...wherever an ApiBundle is already being passed.
Diffstat (limited to 'src/buildtool/serve_api/serve_service/target.cpp')
-rw-r--r-- | src/buildtool/serve_api/serve_service/target.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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, |