Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
src: fix the bare provider
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Batts <vbatts@kinvolk.io>
  • Loading branch information
Vincent Batts committed Mar 8, 2021
1 parent 25f38d6 commit c5acafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Box<providers::MetadataProvider>> {
pub fn fetch_metadata(provider: &str) -> errors::Result<Box<dyn providers::MetadataProvider>> {
match provider {
#[cfg(not(feature = "cl-legacy"))]
"aws" => box_result!(AwsProvider::try_new()?),
Expand Down

0 comments on commit c5acafb

Please # to comment.