Skip to content

Commit

Permalink
Fix job refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Oct 11, 2023
1 parent 850db67 commit 006094d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void close(boolean hasFailed) throws IOException {
this.writeChannel.close();
try {
Job job = writeChannel.getJob();
while (!JobStatus.State.DONE.equals(writeChannel.getJob().getStatus())) {
while (!JobStatus.State.DONE.equals(job.getStatus())) {
Thread.sleep(1000L);
job = job.reload();
}
Expand Down

0 comments on commit 006094d

Please sign in to comment.