Skip to content

Commit

Permalink
Merge pull request #3528 from jpculp/sdk-v0.35.0
Browse files Browse the repository at this point in the history
Update SDK to 0.35.0
  • Loading branch information
jpculp authored Oct 16, 2023
2 parents dedbc1d + 20f5b03 commit c7288e7
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.34.1"
version = "v0.35.0"

[toolchain]
registry = "public.ecr.aws/bottlerocket"
name = "bottlerocket-toolchain"
version = "v0.34.1"
version = "v0.35.0"
2 changes: 1 addition & 1 deletion sources/api/datastore/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl DataStore for MemoryDataStore {
// Clone data key because we want the HashMap key type to be Key, not &Key, and we
// can't pass ownership because we only have a reference from our parameters.
.entry(data_key.clone())
.or_insert_with(HashMap::new);
.or_default();

metadata_for_data.insert(metadata_key.clone(), value.as_ref().to_owned());
Ok(())
Expand Down
2 changes: 1 addition & 1 deletion sources/updater/updog/src/bin/updata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ fn main_inner() -> Result<()> {
match cmd.cmd {
Command::Init(args) => {
match update_metadata::write_file(&args.file, &Manifest::default()) {
Ok(_) => Ok(()),
Ok(()) => Ok(()),
Err(e) => Err(error::Error::UpdateMetadata { source: e }),
}
}
Expand Down

0 comments on commit c7288e7

Please sign in to comment.