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:
Philipp Schuster
2025-05-23 11:17:35 +02:00
committed by Rob Bradford
parent a3692144f0
commit 2100d8c30f

View File

@@ -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,