Skip to content

Commit

Permalink
Add retry policy to google batch describe task (nextflow-io#5356)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman authored and alberto-miranda committed Nov 19, 2024
1 parent c546196 commit 3bae161
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 3bae161

Please sign in to comment.