Skip to content

Commit

Permalink
Merge pull request #136 from terraform-providers/b-pod-bump-timeout
Browse files Browse the repository at this point in the history
resource/kubernetes_pod: Bump timeout to 5 mins
  • Loading branch information
radeksimko authored Mar 5, 2018
2 parents 66904da + 7264e35 commit 21a286a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/resource_kubernetes_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func resourceKubernetesPodDelete(d *schema.ResourceData, meta interface{}) error
return err
}

err = resource.Retry(1*time.Minute, func() *resource.RetryError {
err = resource.Retry(5*time.Minute, func() *resource.RetryError {
out, err := conn.CoreV1().Pods(namespace).Get(name, metav1.GetOptions{})
if err != nil {
if statusErr, ok := err.(*errors.StatusError); ok && statusErr.ErrStatus.Code == 404 {
Expand Down

0 comments on commit 21a286a

Please sign in to comment.