Skip to content

Commit

Permalink
fix: modify client
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmkn committed Nov 15, 2024
1 parent d6d7db0 commit 899db7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tencentcloud/connectivity/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,10 @@ func (me *TencentCloudClient) UseMysqlClient(iacExtInfo ...IacExtInfo) *cdb.Clie
logRoundTripper.InstanceId = iacExtInfo[0].InstanceId
}

if me.mysqlConn != nil {
me.mysqlConn.WithHttpTransport(&logRoundTripper)
return me.mysqlConn
}
// if me.mysqlConn != nil {
// me.mysqlConn.WithHttpTransport(&logRoundTripper)
// return me.mysqlConn
// }

cpf := me.NewClientProfile(300)
me.mysqlConn, _ = cdb.NewClient(me.Credential, me.Region, cpf)
Expand Down

0 comments on commit 899db7a

Please sign in to comment.