summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp
index 37bdb32b..a228fd24 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -269,7 +269,8 @@ class ExecutorImpl {
Logger::Log(LogLevel::Trace, [&tree]() {
std::ostringstream oss{};
- oss << "upload directory content of " << tree.Hash() << std::endl;
+ oss << "upload directory content of " << tree.FileRootHash()
+ << std::endl;
for (auto const& [path, entry] : tree) {
oss << fmt::format(" - {}: {}", path, entry->Hash())
<< std::endl;
@@ -344,7 +345,7 @@ class ExecutorImpl {
if (not VerifyOrUploadTree(api, *tree)) {
Logger::Log(LogLevel::Error,
"failed to verifyorupload git tree {} [{}]",
- tree->Hash(),
+ tree->FileRootHash(),
hash);
return false;
}