From 33475ba20b4503973e7a3b8e00950ce4f6638622 Mon Sep 17 00:00:00 2001 From: "Deven T. Corzine" Date: Fri, 27 Dec 2024 22:56:38 -0500 Subject: [PATCH 1/2] Fix trivial mistake in error message. --- aws/rust-runtime/aws-runtime/src/env_config/parse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { From 0e161991f10c263d73a3f58aef57b51666698a2a Mon Sep 17 00:00:00 2001 From: Landon James Date: Fri, 27 Dec 2024 20:44:44 -0800 Subject: [PATCH 2/2] Bump patch version of aws-runtime crate --- aws/rust-runtime/Cargo.lock | 2 +- aws/rust-runtime/aws-runtime/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"