summaryrefslogtreecommitdiff
path: root/src/buildtool/serve_api/serve_service/source_tree.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-09-21 18:19:58 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-09-22 11:16:21 +0200
commit9ef2ffa9acdc19453c81696aa2ed4da7cb84078c (patch)
treea27019dd1ffbee4c1a37fc2e6fd8a3e4a5ce62d0 /src/buildtool/serve_api/serve_service/source_tree.cpp
parent1ac49337bdb752e42bc1bb6cb2e02fa6bb554462 (diff)
downloadjustbuild-9ef2ffa9acdc19453c81696aa2ed4da7cb84078c.tar.gz
RemoteServeConfig: Remove problematic inheritance
This was causing the remote serve address to overwrite the one set for remote execution. Also, to keep things clean, some common remote server-related methods and definitions were moved into their own library.
Diffstat (limited to 'src/buildtool/serve_api/serve_service/source_tree.cpp')
-rw-r--r--src/buildtool/serve_api/serve_service/source_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/serve_api/serve_service/source_tree.cpp b/src/buildtool/serve_api/serve_service/source_tree.cpp
index 8d91c2f5..69a7a607 100644
--- a/src/buildtool/serve_api/serve_service/source_tree.cpp
+++ b/src/buildtool/serve_api/serve_service/source_tree.cpp
@@ -25,7 +25,7 @@
#include "src/buildtool/storage/config.hpp"
auto SourceTreeService::CreateExecutionApi(
- std::optional<RemoteExecutionConfig::ServerAddress> const& address)
+ std::optional<ServerAddress> const& address)
-> gsl::not_null<IExecutionApi::Ptr> {
if (address) {
ExecutionConfiguration config;