diff --git a/src/aws.rs b/src/aws.rs index b39c5f4..44a2800 100644 --- a/src/aws.rs +++ b/src/aws.rs @@ -155,7 +155,7 @@ pub mod client { let inner = aws_config::defaults(BehaviorVersion::latest()).region(region_provider); let inner = match endpoint_url { - Some(endpoint_url) => inner.endpoint_url(endpoint_url.as_str()), + Some(endpoint_url) => inner.endpoint_url(endpoint_url), None => inner, };