Add compression to dump
Add compression flag to SnapshotManager::Dump. Test: snapshotctl dump Change-Id: Ie1f6562736d4e83ef7e70d79c761ee42194d7fc5
This commit is contained in:
parent
114a2c0916
commit
0badb7ca4c
1 changed files with 2 additions and 1 deletions
|
@ -3098,7 +3098,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: "
|
||||
|
|
Loading…
Reference in a new issue