diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-11 17:17:48 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-09-13 14:41:00 +0200 |
commit | 3dba6aebaa9a7a367190563adea07f0278868998 (patch) | |
tree | d89c13483beb9a3233abf503812fcfcb779e30b3 /src/buildtool/execution_api/remote/bazel/bazel_response.cpp | |
parent | 371d4357eeaa498541473b18bd092975d05fb930 (diff) | |
download | justbuild-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.cpp | 2 |
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 = |