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/remote/configuration_client.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/remote/configuration_client.cpp')
-rw-r--r-- | src/buildtool/serve_api/remote/configuration_client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildtool/serve_api/remote/configuration_client.cpp b/src/buildtool/serve_api/remote/configuration_client.cpp index f4276aee..46ef4cfc 100644 --- a/src/buildtool/serve_api/remote/configuration_client.cpp +++ b/src/buildtool/serve_api/remote/configuration_client.cpp @@ -20,12 +20,11 @@ #include <optional> #include "nlohmann/json.hpp" -#include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/logging/log_level.hpp" #include "src/buildtool/serve_api/remote/config.hpp" auto ConfigurationClient::CheckServeRemoteExecution() const noexcept -> bool { - auto client_remote_address = RemoteExecutionConfig::RemoteAddress(); + auto const client_remote_address = remote_config_.RemoteAddress(); if (!client_remote_address) { logger_.Emit(LogLevel::Error, "Internal error: the remote execution endpoint should " |