From 10aedaa9f8d4eb97af8742065102e38b3778fe6d Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Fri, 13 Oct 2023 12:05:44 +0100 Subject: [PATCH] Clippy --- object_store/src/client/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/object_store/src/client/mod.rs b/object_store/src/client/mod.rs index 71b11ad76128..215468103f7e 100644 --- a/object_store/src/client/mod.rs +++ b/object_store/src/client/mod.rs @@ -478,6 +478,7 @@ impl ClientOptions { /// In particular: /// * Allows HTTP as metadata endpoints do not use TLS /// * Configures a low connection timeout to provide quick feedback if not present + #[cfg(any(feature = "aws", feature = "gcp", feature = "azure"))] pub(crate) fn metadata_client(&self) -> Result { self.clone() .with_allow_http(true)