Skip to content

Commit

Permalink
resource/alicloud_privatelink_vpc_endpoint_service_resource: add retr…
Browse files Browse the repository at this point in the history
…y code while deleting.
  • Loading branch information
ChenHanZhang committed Oct 17, 2024
1 parent d568622 commit de10909
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Package alicloud. This file is generated automatically. Please do not modify it manually, thank you!
package alicloud

import (
Expand Down Expand Up @@ -187,7 +186,7 @@ func resourceAliCloudPrivateLinkVpcEndpointServiceResourceDelete(d *schema.Resou
request["ClientToken"] = buildClientToken(action)

if err != nil {
if NeedRetry(err) {
if IsExpectedErrors(err, []string{"EndpointServiceConnectionDependence"}) || NeedRetry(err) {
wait()
return resource.RetryableError(err)
}
Expand Down

0 comments on commit de10909

Please sign in to comment.