diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-03-22 14:58:49 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-03-23 16:00:15 +0100 |
commit | cf5fe9c264d0c7199b9ca13362913916ba689c6f (patch) | |
tree | a925629ba3978b20f766c701faa4e951c3745c8e /src/buildtool/execution_api/remote/bazel/bazel_api.cpp | |
parent | 27a7f0f98986abc54cd52b17974743287d6eaa79 (diff) | |
download | justbuild-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.cpp | 5 |
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."); |