Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 committed Oct 16, 2024
1 parent 3330dc8 commit 40572c4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public List<DescriptorDigest> getDiffIds() throws DigestException {
public static final Path DEFAULT_DOCKER_CLIENT = Paths.get("docker");

/**
* 10 minute timeout to ensure that Jib doesn't get stuck indefinitely when expecting a docker output
* 10 minute timeout to ensure that Jib doesn't get stuck indefinitely when expecting a docker
* output.
*/
public static final Long DOCKER_OUTPUT_TIMEOUT = (long) 10 * 60 * 1000;

Expand Down Expand Up @@ -293,7 +294,7 @@ private DockerInfoDetails fetchInfoDetails() throws IOException, InterruptedExce
InputStream inputStream = infoProcess.getInputStream();
if (infoProcess.waitFor() != 0) {
throw new IOException(
"'docker info' command failed with error: " + getStderrOutput(infoProcess));
"'docker info' command failed with error: " + getStderrOutput(infoProcess));
}
return JsonTemplateMapper.readJson(inputStream, DockerInfoDetails.class);
}
Expand Down

0 comments on commit 40572c4

Please sign in to comment.