Merge "No longer print hash for stashed blocks during verification of retry"

am: 0a84d7260b

Change-Id: I567bb581faa27a6ba1a4834a8cbe82f8c4052a31
This commit is contained in:
Tianjie Xu
2018-07-03 13:36:21 -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;