Merge "Add compression to dump"

This commit is contained in:
Yifan Hong 2021-02-08 22:47:05 +00:00 committed by Gerrit Code Review
commit 2277c27fcc

View file

@ -3102,7 +3102,8 @@ bool SnapshotManager::Dump(std::ostream& os) {
std::stringstream ss;
ss << "Update state: " << ReadUpdateState(file.get()) << std::endl;
ss << "Compression: " << ReadSnapshotUpdateStatus(file.get()).compression_enabled()
<< std::endl;
ss << "Current slot: " << device_->GetSlotSuffix() << std::endl;
ss << "Boot indicator: booting from " << GetCurrentSlot() << " slot" << std::endl;
ss << "Rollback indicator: "