Skip to content

Commit 3c4603c

Browse files
author
hellertang
authored
fix gaap destroy error (#818)
1 parent 5fb4d45 commit 3c4603c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/service_tencentcloud_gaap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,10 +775,10 @@ func (me *GaapService) DeleteProxy(ctx context.Context, id string) error {
775775
deleteRequest := gaap.NewDestroyProxiesRequest()
776776
deleteRequest.ProxyIds = []*string{&id}
777777
deleteRequest.Force = helper.IntInt64(0)
778-
deleteRequest.ClientToken = helper.String(helper.BuildToken())
779778

780779
if err := resource.Retry(writeRetryTimeout, func() *resource.RetryError {
781780
ratelimit.Check(deleteRequest.GetAction())
781+
deleteRequest.ClientToken = helper.String(helper.BuildToken())
782782

783783
response, err := client.DestroyProxies(deleteRequest)
784784
if err != nil {

0 commit comments

Comments
 (0)