Skip to content

Commit

Permalink
Use alias for backward compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Bruijnzeels committed Oct 17, 2023
1 parent 2b5a01d commit 2021c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/daemon/ca/child.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use crate::{
#[allow(clippy::large_enum_variant)]
#[serde(rename_all = "snake_case")]
pub enum UsedKeyState {
#[serde(alias = "current")]
InUse(ResourceClassName), // Multiple keys are possible during a key rollover.
Revoked,
}
Expand Down

0 comments on commit 2021c07

Please sign in to comment.