Skip to content

Commit

Permalink
feat: add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmkn committed Mar 5, 2024
1 parent fb4aac8 commit 8d31650
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/2549.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_mysql_instance: Fixed the problem of clienttoken duplication caused by creation retry.
```
2 changes: 1 addition & 1 deletion tencentcloud/services/cdb/resource_tc_mysql_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ func mysqlCreateInstancePayByMonth(ctx context.Context, d *schema.ResourceData,
clientToken := helper.BuildToken()
request.ClientToken = &clientToken
r, inErr := meta.(tccommon.ProviderMeta).GetAPIV3Conn().UseMysqlClient().CreateDBInstance(request)
if inErr == nil {
if inErr != nil {
log.Printf("[CRITAL]%s api[%s] fail, request body [%s], reason[%s]\n",
logId, request.GetAction(), request.ToJsonString(), inErr.Error())
//internal version: replace bpass begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
Expand Down

0 comments on commit 8d31650

Please sign in to comment.