From a0e6f2eff2ec660c03dc3f5af4a2b0ed6d0de3b8 Mon Sep 17 00:00:00 2001 From: Xynnn007 Date: Mon, 20 Nov 2023 17:33:49 +0800 Subject: [PATCH] cdh/kms/aliyun: fix lint error Signed-off-by: Xynnn007 --- confidential-data-hub/kms/src/plugins/aliyun/client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/confidential-data-hub/kms/src/plugins/aliyun/client.rs b/confidential-data-hub/kms/src/plugins/aliyun/client.rs index 9bbf12f9e..28c8d2e70 100644 --- a/confidential-data-hub/kms/src/plugins/aliyun/client.rs +++ b/confidential-data-hub/kms/src/plugins/aliyun/client.rs @@ -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 { let mut headers = HeaderMap::new();