forked from Proxmox/proxmox
subscription: use lowercase for Display-ing status
This commit is contained in:
parent
31f1bbbf40
commit
d55816e9dd
@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user