Skip to content

Commit

Permalink
Re-add the missed return statement (#21117)
Browse files Browse the repository at this point in the history
In #21048, this return statement accidentally removed. This PR adds
this return statement back.
  • Loading branch information
ufukyilmaz committed Apr 1, 2022
1 parent 9b3d845 commit eeed078
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ private CompletableFuture<Void> startJobIfNotStartedOrCompleted(
assert jobRepository.getJobResult(jobId) == null : "jobResult should not exist at this point";

if (finalizeJobIfAutoScalingOff(masterContext)) {
masterContext.jobContext().jobCompletionFuture();
return masterContext.jobContext().jobCompletionFuture();
}

if (jobExecutionRecord.isSuspended()) {
Expand Down

0 comments on commit eeed078

Please sign in to comment.