collab: Fix error message when missing Kinesis region (#23811)
This PR fixes a typo in the error that occurs when trying to construct an AWS Kinesis client and the `kinesis_region` value is missing. Release Notes: - N/A
This commit is contained in:
parent
353ae316c9
commit
3b6e1be169
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ async fn build_kinesis_client(config: &Config) -> anyhow::Result<aws_sdk_kinesis
|
||||||
config
|
config
|
||||||
.kinesis_region
|
.kinesis_region
|
||||||
.clone()
|
.clone()
|
||||||
.ok_or_else(|| anyhow!("missing blob_store_region"))?,
|
.ok_or_else(|| anyhow!("missing kinesis_region"))?,
|
||||||
))
|
))
|
||||||
.credentials_provider(keys)
|
.credentials_provider(keys)
|
||||||
.load()
|
.load()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue