Skip to content

Commit

Permalink
Fix container build logging
Browse files Browse the repository at this point in the history
In Quarkus 2.10.CR1, the container build (e.g. Docker) performed by Quarkus does not log any output anymore. This appears to be caused by the refactoring in commit 418d986, as the `Runnable#run()` method is never called in `ExecUtil#exec()` on the `Runnable` returned by `outputFilterFunction`.
  • Loading branch information
knutwannheden committed Jun 10, 2022
1 parent 40db70f commit 0ca82fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static boolean exec(File directory, Function<InputStream, Runnable> outpu
String... args) {
try {
Process process = startProcess(directory, command, args);
outputFilterFunction.apply(process.getInputStream());
outputFilterFunction.apply(process.getInputStream()).run();
process.waitFor();
return process.exitValue() == 0;
} catch (InterruptedException e) {
Expand Down

0 comments on commit 0ca82fd

Please sign in to comment.