diff --git a/aws/rust-runtime/Cargo.lock b/aws/rust-runtime/Cargo.lock index 1508998aa0..4d9db35604 100644 --- a/aws/rust-runtime/Cargo.lock +++ b/aws/rust-runtime/Cargo.lock @@ -138,7 +138,7 @@ dependencies = [ [[package]] name = "aws-runtime" -version = "1.5.2" +version = "1.5.3" dependencies = [ "arbitrary", "aws-credential-types", diff --git a/aws/rust-runtime/aws-runtime/Cargo.toml b/aws/rust-runtime/aws-runtime/Cargo.toml index f9ac90dcf8..a30478ac5c 100644 --- a/aws/rust-runtime/aws-runtime/Cargo.toml +++ b/aws/rust-runtime/aws-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-runtime" -version = "1.5.2" +version = "1.5.3" authors = ["AWS Rust SDK Team "] description = "Runtime support code for the AWS SDK. This crate isn't intended to be used directly." edition = "2021" diff --git a/aws/rust-runtime/aws-runtime/src/env_config/parse.rs b/aws/rust-runtime/aws-runtime/src/env_config/parse.rs index 7c292ca63d..eafa41f3a0 100644 --- a/aws/rust-runtime/aws-runtime/src/env_config/parse.rs +++ b/aws/rust-runtime/aws-runtime/src/env_config/parse.rs @@ -204,7 +204,7 @@ impl<'a> Parser<'a> { let line = prepare_line(line, false); let profile_name = line .strip_prefix('[') - .ok_or_else(|| self.make_error("Profile definition must start with ]"))? + .ok_or_else(|| self.make_error("Profile definition must start with '['"))? .strip_suffix(']') .ok_or_else(|| self.make_error("Profile definition must end with ']'"))?; if !self.data.contains_key(profile_name) {