Skip to content

Commit

Permalink
cdh/kms/aliyun: fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Nov 20, 2023
1 parent 2958a3f commit 64b4ddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions confidential-data-hub/kms/src/plugins/aliyun/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ impl Decrypter for AliyunKmsClient {
}

impl AliyunKmsClient {
const API_VERSION: &str = "dkms-gcs-0.2";
const SIGNATURE_METHOD: &str = "RSA_PKCS1_SHA_256";
const CONTENT_TYPE: &str = "application/x-protobuf";
const API_VERSION: &'static str = "dkms-gcs-0.2";
const SIGNATURE_METHOD: &'static str = "RSA_PKCS1_SHA_256";
const CONTENT_TYPE: &'static str = "application/x-protobuf";

fn build_headers(&self, api_name: &str, body: &[u8]) -> anyhow::Result<HeaderMap> {
let mut headers = HeaderMap::new();
Expand Down

0 comments on commit 64b4ddd

Please sign in to comment.