diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-24 17:46:49 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-28 16:19:19 +0200 |
commit | 6184c758d2d7512af94d133f6ecac1abce03490e (patch) | |
tree | a6d0f2c915798dee767b43198eed10efe18a3471 /src/buildtool/execution_engine/executor | |
parent | dc273f4ce89dc6e562c4a99fd394c92f56eeb63f (diff) | |
download | justbuild-6184c758d2d7512af94d133f6ecac1abce03490e.tar.gz |
Rename BlobContainer to BazelBlobContainer
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index b7eb98cf..7f931cbd 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -295,7 +295,7 @@ class ExecutorImpl { } // upload missing entries (blobs or trees) - BlobContainer container; + BazelBlobContainer container; for (auto const& digest : missing_digests) { if (auto it = entry_map.find(digest); it != entry_map.end()) { auto const& entry = it->second; @@ -361,7 +361,7 @@ class ExecutorImpl { } // upload artifact content - auto container = BlobContainer{{BazelBlob{ + auto container = BazelBlobContainer{{BazelBlob{ info.digest, std::move(*content), IsExecutableObject(info.type)}}}; return api->Upload(container, /*skip_find_missing=*/true); } @@ -447,10 +447,10 @@ class ExecutorImpl { return std::nullopt; } auto digest = ArtifactDigest::Create<ObjectType::File>(*content); - if (not api->Upload( - BlobContainer{{BazelBlob{digest, - std::move(*content), - IsExecutableObject(*object_type)}}})) { + if (not api->Upload(BazelBlobContainer{ + {BazelBlob{digest, + std::move(*content), + IsExecutableObject(*object_type)}}})) { return std::nullopt; } return Artifact::ObjectInfo{.digest = std::move(digest), |