Skip to content

Commit

Permalink
Merge pull request #3690 from jpculp/sdk-v0.37.0
Browse files Browse the repository at this point in the history
Update SDK to v0.37.0
  • Loading branch information
jpculp authored Jan 4, 2024
2 parents 32df26e + 738eb0b commit 37783e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Twoliter.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ schema-version = 1
[sdk]
registry = "public.ecr.aws/bottlerocket"
name = "bottlerocket-sdk"
version = "v0.36.1"
version = "v0.37.0"

[toolchain]
registry = "public.ecr.aws/bottlerocket"
name = "bottlerocket-toolchain"
version = "v0.36.1"
version = "v0.37.0"
2 changes: 1 addition & 1 deletion sources/api/datastore/src/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl FilesystemDataStore {
// component, so we don't need the quotes in the filename.
let raw_key_name = metadata_key
.segments()
.get(0)
.first()
.context(error::InternalSnafu {
msg: "metadata key with no segments",
})?;
Expand Down
2 changes: 1 addition & 1 deletion sources/models/modeled-types/src/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ impl TryFrom<&str> for PemCertificateString {
// Flag to check if the bundle doesn't contain any valid certificate
let mut certs_found = false;
// Validate each certificate in the bundle
for (_, pem) in x509_parser::pem::Pem::iter_from_buffer(&decoded_bytes).enumerate() {
for pem in x509_parser::pem::Pem::iter_from_buffer(&decoded_bytes) {
// Parse buffer into a PEM object, then to a x509 certificate
let pem = pem.context(error::InvalidPEMSnafu)?;
pem.parse_x509()
Expand Down

0 comments on commit 37783e8

Please sign in to comment.