summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/bazel_msg
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-02-21 16:18:47 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-27 09:03:30 +0100
commita8a167cb206f6c66e52ab4e92e0939e91b8dfed8 (patch)
tree7861406725739f45a98c1312ed45264bb10b9b35 /src/buildtool/execution_api/bazel_msg
parente1880bead60d433de2960104bd62cd9e27bfca17 (diff)
downloadjustbuild-a8a167cb206f6c66e52ab4e92e0939e91b8dfed8.tar.gz
ArtifactBlob: Convert to a class
Diffstat (limited to 'src/buildtool/execution_api/bazel_msg')
-rw-r--r--src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp6
1 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 34fbccb4..6eb35e4c 100644
--- a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp
+++ b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp
@@ -347,7 +347,7 @@ auto BazelMsgFactory::CreateDirectoryDigestFromTree(
return std::nullopt;
}
- auto digest = bundle->blob.digest;
+ auto digest = bundle->blob.GetDigest();
try {
if (not process_blob(std::move(bundle->blob))) {
return std::nullopt;
@@ -921,12 +921,12 @@ auto BazelMsgFactory::CreateActionDigestFromCommandLine(
return std::nullopt;
}
- auto action = CreateActionBundle(cmd->digest, request);
+ auto action = CreateActionBundle(cmd->GetDigest(), request);
if (not action) {
return std::nullopt;
}
- auto result = action->digest;
+ auto result = action->GetDigest();
if (request.store_blob) {
std::invoke(*request.store_blob, *std::move(cmd));
std::invoke(*request.store_blob, *std::move(action));