Skip to content

Commit

Permalink
resource/alicloud_cen_transit_router_multicast_domain_member: Added r…
Browse files Browse the repository at this point in the history
…etry strategy for error code Operation.Blocking
  • Loading branch information
MrWolong authored and ChenHanZhang committed Dec 26, 2024
1 parent 6056a03 commit c7f981e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func resourceAliCloudCenTransitRouterMulticastDomainMemberCreate(d *schema.Resou
err = resource.Retry(client.GetRetryTimeout(d.Timeout(schema.TimeoutCreate)), func() *resource.RetryError {
response, err = conn.DoRequest(StringPointer(action), nil, StringPointer("POST"), StringPointer("2017-09-12"), StringPointer("AK"), nil, request, &runtime)
if err != nil {
if NeedRetry(err) {
if IsExpectedErrors(err, []string{"Operation.Blocking"}) || NeedRetry(err) {
wait()
return resource.RetryableError(err)
}
Expand Down

0 comments on commit c7f981e

Please sign in to comment.