Skip to content

Commit

Permalink
continue to use anyOf when logViaFnApi is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
t2h6 committed Dec 20, 2024
1 parent 13aeac5 commit f0e8c74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ private BeamFnApi.ProcessBundleDescriptor loadDescriptor(String id) {
if (options.as(SdkHarnessOptions.class).getEnableLogViaFnApi()) {
CompletableFuture.anyOf(control.terminationFuture(), logging.terminationFuture()).get();
} else {
CompletableFuture.allOf(control.terminationFuture(), logging.terminationFuture()).get();
control.terminationFuture().get();
}
if (beamFnStatusClient != null) {
beamFnStatusClient.close();
Expand Down

0 comments on commit f0e8c74

Please sign in to comment.