Skip to content

Commit

Permalink
cdh/kms/aliyun: fix decryptor provider name
Browse files Browse the repository at this point in the history
Make the provider name recognization case insensitive.

Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Oct 26, 2023
1 parent f1c3eb6 commit 2d4e6b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions confidential-data-hub/kms/src/plugins/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub mod kbs;
#[derive(AsRefStr, EnumString)]
pub enum DecryptorProvider {
#[cfg(feature = "aliyun")]
#[strum(ascii_case_insensitive)]
Aliyun,
}

Expand Down

0 comments on commit 2d4e6b4

Please sign in to comment.