summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-11 17:17:48 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-09-13 14:41:00 +0200
commit3dba6aebaa9a7a367190563adea07f0278868998 (patch)
treed89c13483beb9a3233abf503812fcfcb779e30b3 /src/buildtool/execution_api/remote/bazel/bazel_response.cpp
parent371d4357eeaa498541473b18bd092975d05fb930 (diff)
downloadjustbuild-3dba6aebaa9a7a367190563adea07f0278868998.tar.gz
Check compatibility in BazelAPI based on the hash type
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_response.cpp')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_response.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
index cb481e3e..c536f5dd 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
@@ -135,7 +135,7 @@ void BazelResponse::Populate() noexcept {
}
}
- if (not ProtocolTraits::Instance().IsCompatible()) {
+ if (ProtocolTraits::IsNative(hash_type)) {
// in native mode: just collect and store tree digests
for (auto const& tree : action_result.output_directories()) {
auto digest =