summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/launch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-09-08 11:24:26 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-09-13 16:14:43 +0200
commitf48e1ebe7f08159004bf9a88d5a9e474ff32dbb1 (patch)
tree4aba2f8ca184b63696db44797e3ac2cda7ca2db2 /src/other_tools/just_mr/launch.cpp
parentf142997cd581628681353eff9484e56840b3c572 (diff)
downloadjustbuild-f48e1ebe7f08159004bf9a88d5a9e474ff32dbb1.tar.gz
just serve: Add endpoint arguments
Diffstat (limited to 'src/other_tools/just_mr/launch.cpp')
-rw-r--r--src/other_tools/just_mr/launch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp
index c843d3c1..26b87059 100644
--- a/src/other_tools/just_mr/launch.cpp
+++ b/src/other_tools/just_mr/launch.cpp
@@ -152,6 +152,10 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file,
cmd.emplace_back("-r");
cmd.emplace_back(*common_args.remote_execution_address);
}
+ if (supports_remote and common_args.remote_serve_address) {
+ cmd.emplace_back("--remote-serve-address");
+ cmd.emplace_back(*common_args.remote_serve_address);
+ }
// forward mutual TLS arguments
if (supports_cacert and auth_args.tls_ca_cert) {
cmd.emplace_back("--tls-ca-cert");