Skip to content

Commit

Permalink
Update buildpack-jvm-shared
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen committed Feb 5, 2025
1 parent 9dbdb2a commit 068c114
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion buildpacks/dotnet/src/layers/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub(crate) fn handle(

let tarball_path = temp_dir().join("dotnetsdk.tar.gz");
let mut download_attempts = 0;
output::track_timing(|| {
output::track_subsection_timing(|| {
while download_attempts <= MAX_RETRIES {
output::print_subsection(vec![
BuildpackOutputTextSection::regular("Downloading SDK from "),
Expand Down
4 changes: 2 additions & 2 deletions buildpacks/dotnet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::launch_process::LaunchProcessDetectionError;
use crate::layers::sdk::SdkLayerError;
use buildpacks_jvm_shared::output::{
print_buildpack_name, print_section, print_subsection, print_warning, run_command,
track_timing, BuildpackOutputTextSection,
track_subsection_timing, BuildpackOutputTextSection,
};
use indoc::formatdoc;
use inventory::artifact::{Arch, Os};
Expand Down Expand Up @@ -155,7 +155,7 @@ impl Buildpack for DotnetBuildpack {
BuildpackOutputTextSection::regular("Running "),
BuildpackOutputTextSection::Command(command_to_string(&publish_command)),
]);
track_timing(|| {
track_subsection_timing(|| {
run_command(
publish_command,
false,
Expand Down

0 comments on commit 068c114

Please sign in to comment.