Skip to content

Commit e05ddf1

Browse files
rcohenmaJason Bolla
authored andcommitted
retry fix for non http errors
1 parent 2f11541 commit e05ddf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/retry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func shouldRetry(response oci_common.OCIOperationResponse, disableNotFoundRetrie
5353
if disableAutoRetries {
5454
return false
5555
}
56-
if response.Response == nil {
56+
if response.Response == nil || response.Response.HTTPResponse() == nil {
5757
return false
5858
}
5959

0 commit comments

Comments
 (0)