mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: performance-metrics: streamline error Display::fmt()
The changes were mostly automatically applied using the Python script mentioned in the first commit of this series. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
a3692144f0
commit
2100d8c30f
@@ -24,7 +24,7 @@ pub const FOCAL_IMAGE_NAME: &str = "focal-server-cloudimg-arm64-custom-20210929-
|
||||
enum Error {
|
||||
#[error("boot time could not be parsed")]
|
||||
BootTimeParse,
|
||||
#[error("infrastructure failure: {0}")]
|
||||
#[error("infrastructure failure")]
|
||||
Infra(#[from] InfraError),
|
||||
#[error("restore time could not be parsed")]
|
||||
RestoreTimeParse,
|
||||
|
||||
Reference in New Issue
Block a user