summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-16 16:33:48 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-19 09:50:37 +0200
commitf2af767908e42013664e30ec40c431c41a6895c1 (patch)
tree25c15b9f5633985116926820e2e8b33185431b78 /src/buildtool/execution_api/remote/bazel/bazel_api.cpp
parent953fc900629dd2b04c509b4f953e75dd351e09d9 (diff)
downloadjustbuild-f2af767908e42013664e30ec40c431c41a6895c1.tar.gz
Pass RetryConfig instance to BazelNetwork and bazel clients
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_api.cpp')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_api.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_api.cpp b/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
index 8f6e07b4..fd109003 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
@@ -27,6 +27,7 @@
#include "fmt/core.h"
#include "src/buildtool/auth/authentication.hpp"
#include "src/buildtool/common/bazel_types.hpp"
+#include "src/buildtool/common/remote/retry_config.hpp"
#include "src/buildtool/compatibility/compatibility.hpp"
#include "src/buildtool/execution_api/bazel_msg/bazel_blob_container.hpp"
#include "src/buildtool/execution_api/bazel_msg/bazel_common.hpp"
@@ -194,7 +195,7 @@ BazelApi::BazelApi(std::string const& instance_name,
gsl::not_null<Auth const*> const& auth,
ExecutionConfiguration const& exec_config) noexcept {
network_ = std::make_shared<BazelNetwork>(
- instance_name, host, port, auth, exec_config);
+ instance_name, host, port, auth, &RetryConfig::Instance(), exec_config);
}
// implement move constructor in cpp, where all members are complete types