summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup_utils.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-01-29 18:09:56 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-01-31 17:15:46 +0100
commita9b3d717eac4c4f3b87b2bb7fe9f0961f4bb6fb0 (patch)
treeb5fa92fc826dc7579d42e34be573bd3ee3ceb4bd /src/other_tools/just_mr/setup_utils.hpp
parent66df7f4956c6fe1823eb43d31c3cbac7d8716125 (diff)
downloadjustbuild-a9b3d717eac4c4f3b87b2bb7fe9f0961f4bb6fb0.tar.gz
just-mr: Serve endpoint always implies a remote-execution endpoint
As the serve service always has an associated remote-execution endpoint, when just-mr gets passed only a serve endpoint address it will now default to implying a remote-execution endpoint exists too at that address. Additionally, now the implementation of the --backup-to-remote option more clearly shows that it can only be done in native mode.
Diffstat (limited to 'src/other_tools/just_mr/setup_utils.hpp')
-rw-r--r--src/other_tools/just_mr/setup_utils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/setup_utils.hpp b/src/other_tools/just_mr/setup_utils.hpp
index 80f01d75..11d4af45 100644
--- a/src/other_tools/just_mr/setup_utils.hpp
+++ b/src/other_tools/just_mr/setup_utils.hpp
@@ -65,6 +65,7 @@ void DefaultReachableRepositories(
/// \returns Pointer to a configured remote API, or nullptr.
[[nodiscard]] auto GetRemoteApi(
std::optional<std::string> const& remote_exec_addr,
+ std::optional<std::string> const& remote_serve_addr,
MultiRepoRemoteAuthArguments const& auth) -> IExecutionApi::Ptr;
/// \brief Setup of a 'just serve' remote API based on just-mr arguments.