Skip to content

Commit

Permalink
Add retry policy to google batch describe task (#5356)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
  • Loading branch information
bentsherman authored Oct 3, 2024
1 parent 324de3d commit 64bb5a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class BatchClient {

Task describeTask(String jobId, String taskId) {
final name = TaskName.of(projectId, location, jobId, 'group0', taskId)
return batchServiceClient.getTask(name)
return apply(()-> batchServiceClient.getTask(name))
}

void deleteJob(String jobId) {
Expand Down

0 comments on commit 64bb5a9

Please sign in to comment.