Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Oct 23, 2023
1 parent 40f7fb0 commit 2be4154
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/composer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl Composer {

tracing::debug!(target: "composer", "Created docker image: {:?}", res);

match res.get(0) {
match res.first() {
Some(info) => match info.id.as_ref() {
Some(id) => Ok(id.clone()),
None => bail!("No image ID found in response"),
Expand Down Expand Up @@ -124,8 +124,9 @@ impl Composer {
.build_image(build_options, None, Some(files.into()));

while let Some(build_info) = image_build_stream.next().await {
println!("Response: {:?}", build_info);
tracing::debug!(target: "composer", "Build info: {:?}", build_info);
let res = build_info?;
println!("Response: {:?}", res);
tracing::debug!(target: "composer", "Build info: {:?}", res);
}

Ok(())
Expand Down

0 comments on commit 2be4154

Please sign in to comment.