Merge "No longer print hash for stashed blocks during verification of retry" am: 0a84d7260b am: 65419746cb

am: db33eeeacc

Change-Id: I7e12332a2546a9b2cdfc17a853b0805f63982379
This commit is contained in:
Tianjie Xu
2018-07-03 13:45:24 -07:00
committed by android-build-merger
+3 -1
View File
@@ -765,7 +765,9 @@ static int LoadStash(const CommandParameters& params, const std::string& id, boo
}
if (VerifyBlocks(id, *buffer, src.blocks(), true) != 0) {
LOG(ERROR) << "failed to verify loaded source blocks in stash map.";
PrintHashForCorruptedStashedBlocks(id, *buffer, src);
if (!is_retry) {
PrintHashForCorruptedStashedBlocks(id, *buffer, src);
}
return -1;
}
return 0;