summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-22 14:58:49 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-23 16:00:15 +0100
commitcf5fe9c264d0c7199b9ca13362913916ba689c6f (patch)
treea925629ba3978b20f766c701faa4e951c3745c8e /src/buildtool/execution_api/remote/bazel/bazel_api.cpp
parent27a7f0f98986abc54cd52b17974743287d6eaa79 (diff)
downloadjustbuild-cf5fe9c264d0c7199b9ca13362913916ba689c6f.tar.gz
execution api: support retrieving from more than one API
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_api.cpp')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_api.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_api.cpp b/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
index ce25c51c..e98b0b5e 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_api.cpp
@@ -69,10 +69,11 @@ auto BazelApi::CreateAction(
properties}};
}
-// NOLINTNEXTLINE(misc-no-recursion)
+// NOLINTNEXTLINE(misc-no-recursion, google-default-arguments)
[[nodiscard]] auto BazelApi::RetrieveToPaths(
std::vector<Artifact::ObjectInfo> const& artifacts_info,
- std::vector<std::filesystem::path> const& output_paths) noexcept -> bool {
+ std::vector<std::filesystem::path> const& output_paths,
+ IExecutionApi* /* alternative */) noexcept -> bool {
if (artifacts_info.size() != output_paths.size()) {
Logger::Log(LogLevel::Error,
"different number of digests and output paths.");