Skip to content

Commit

Permalink
Fix clippy for object_store (#5883)
Browse files Browse the repository at this point in the history
* Fix clippy for object_store

* Update object_store/src/aws/credential.rs
  • Loading branch information
alamb authored Jun 13, 2024
1 parent 3715d54 commit d32f68d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions object_store/src/aws/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d32f68d

Please sign in to comment.