diff options
Diffstat (limited to 'src/buildtool/execution_engine')
-rw-r--r-- | src/buildtool/execution_engine/dag/dag.hpp | 2 | ||||
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/buildtool/execution_engine/dag/dag.hpp b/src/buildtool/execution_engine/dag/dag.hpp index b371896b..b52e5beb 100644 --- a/src/buildtool/execution_engine/dag/dag.hpp +++ b/src/buildtool/execution_engine/dag/dag.hpp @@ -450,7 +450,7 @@ class DependencyGraph : DirectedAcyclicGraph { // Collect paths from named nodes. // TODO(oreiche): This could be potentially speed up by using a wrapper - // iterator to provide a read-only view (similar to BlobContainer) + // iterator to provide a read-only view (similar to BazelBlobContainer) [[nodiscard]] static auto NodePaths( std::vector<NamedOtherNodePtr> const& nodes) -> std::vector<Action::LocalPath> { 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), |