From c5acafb8648a71b828bd83215277b1da130161ee Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sun, 7 Mar 2021 23:52:43 -0500 Subject: [PATCH] src: fix the bare provider Signed-off-by: Vincent Batts --- src/metadata.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metadata.rs b/src/metadata.rs index c62bb14..30cd7f2 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -33,7 +33,7 @@ macro_rules! box_result { /// `fetch_metadata` is the generic, top-level function that is used by the main /// function to fetch metadata. The configured provider is passed in and this /// function dispatches the call to the correct provider-specific fetch function -pub fn fetch_metadata(provider: &str) -> errors::Result> { +pub fn fetch_metadata(provider: &str) -> errors::Result> { match provider { #[cfg(not(feature = "cl-legacy"))] "aws" => box_result!(AwsProvider::try_new()?),