Skip to content

Commit

Permalink
google_dataflow_job - retry on common API errors when waiting for job…
Browse files Browse the repository at this point in the history
… to update (#3612)
  • Loading branch information
jcanseco authored Jun 8, 2020
1 parent b12a975 commit 846f942
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions third_party/terraform/resources/resource_dataflow_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,9 @@ func waitForDataflowJobToBeUpdated(d *schema.ResourceData, config *Config, repla

replacementJob, err := resourceDataflowJobGetJob(config, project, region, replacementJobID)
if err != nil {
if isRetryableError(err) {
return resource.RetryableError(err)
}
return resource.NonRetryableError(err)
}

Expand Down

0 comments on commit 846f942

Please sign in to comment.