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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user