From d55816e9dda0e10ee396af1d804057e452f2282e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 7 Sep 2022 13:04:44 +0200 Subject: [PATCH] subscription: use lowercase for Display-ing status --- proxmox-subscription/src/subscription_info.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proxmox-subscription/src/subscription_info.rs b/proxmox-subscription/src/subscription_info.rs index 605832a3..adeada95 100644 --- a/proxmox-subscription/src/subscription_info.rs +++ b/proxmox-subscription/src/subscription_info.rs @@ -49,11 +49,11 @@ impl Default for SubscriptionStatus { impl std::fmt::Display for SubscriptionStatus { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - SubscriptionStatus::New => write!(f, "New"), - SubscriptionStatus::NotFound => write!(f, "NotFound"), - SubscriptionStatus::Active => write!(f, "Active"), - SubscriptionStatus::Invalid => write!(f, "Invalid"), - SubscriptionStatus::Expired => write!(f, "Expired"), + SubscriptionStatus::New => write!(f, "new"), + SubscriptionStatus::NotFound => write!(f, "notfound"), + SubscriptionStatus::Active => write!(f, "active"), + SubscriptionStatus::Invalid => write!(f, "invalid"), + SubscriptionStatus::Expired => write!(f, "expired"), } } }