diff options
Diffstat (limited to 'src/buildtool/execution_api')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp index 1992961d..58059156 100644 --- a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp +++ b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp @@ -305,7 +305,7 @@ auto BazelMsgFactory::CreateDirectoryDigestFromTree( return std::nullopt; } - auto const digest = bundle->blob.digest; + auto digest = bundle->blob.digest; try { if (not process_blob(std::move(bundle->blob))) { return std::nullopt; diff --git a/src/buildtool/execution_api/remote/bazel/bazel_network_reader.cpp b/src/buildtool/execution_api/remote/bazel/bazel_network_reader.cpp index d5f2f3f8..a31939b4 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_network_reader.cpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_network_reader.cpp @@ -238,7 +238,7 @@ auto BazelNetworkReader::Validate(BazelBlob const& blob) const noexcept } // rehash data - auto const rehashed_info = HashInfo::HashData( + auto rehashed_info = HashInfo::HashData( hash_function_, *blob.data, requested_hash_info->IsTree()); // ensure rehashed data produce the same hash diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp index 7771fa8e..638747cb 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp @@ -237,7 +237,7 @@ auto BazelResponse::Populate() noexcept -> std::optional<std::string> { // have to upload them manually. auto root_digest = UploadTreeMessageDirectories(*tree); if (not root_digest) { - auto const error = + auto error = fmt::format("BazelResponse: {}", root_digest.error()); Logger::Log(LogLevel::Trace, error); return error; |