This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new d32f68d6ec7 Fix clippy for object_store (#5883)
d32f68d6ec7 is described below

commit d32f68d6ec737673068f5b2f410a2febbff90ba1
Author: Andrew Lamb <[email protected]>
AuthorDate: Thu Jun 13 14:52:18 2024 -0400

    Fix clippy for object_store (#5883)
    
    * Fix clippy for object_store
    
    * Update object_store/src/aws/credential.rs
---
 object_store/src/aws/credential.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/object_store/src/aws/credential.rs 
b/object_store/src/aws/credential.rs
index 08831fd5123..01cfb342745 100644
--- a/object_store/src/aws/credential.rs
+++ b/object_store/src/aws/credential.rs
@@ -424,6 +424,8 @@ fn canonicalize_headers(header_map: &HeaderMap) -> (String, 
String) {
 /// 
<https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html>
 #[derive(Debug)]
 pub struct InstanceCredentialProvider {
+    // https://github.com/apache/arrow-rs/issues/5884
+    #[allow(dead_code)]
     pub cache: TokenCache<Arc<AwsCredential>>,
     pub imdsv1_fallback: bool,
     pub metadata_endpoint: String,

Reply via email to