File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tencentcloud/connectivity Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ func (me *TencentCloudClient) NewClientProfile(timeout int) *profile.ClientProfi
189189 return cpf
190190}
191191
192- // NewClientProfile returns a new ClientProfile
192+ // NewClientIntlProfile returns a new ClientProfile
193193func (me * TencentCloudClient ) NewClientIntlProfile (timeout int ) * intlProfile.ClientProfile {
194194 cpf := intlProfile .NewClientProfile ()
195195
@@ -767,7 +767,7 @@ func (me *TencentCloudClient) UseDnsPodClient() *dnspod.Client {
767767
768768// UsePrivateDnsClient return PrivateDns client for service
769769func (me * TencentCloudClient ) UsePrivateDnsClient () * privatedns.Client {
770- if me .dnsPodConn != nil {
770+ if me .privateDnsConn != nil {
771771 return me .privateDnsConn
772772 }
773773 cpf := me .NewClientProfile (300 )
@@ -779,7 +779,7 @@ func (me *TencentCloudClient) UsePrivateDnsClient() *privatedns.Client {
779779
780780// UseDomainClient return Domain client for service
781781func (me * TencentCloudClient ) UseDomainClient () * domain.Client {
782- if me .dnsPodConn != nil {
782+ if me .domainConn != nil {
783783 return me .domainConn
784784 }
785785 cpf := me .NewClientProfile (300 )
@@ -1111,7 +1111,7 @@ func (me *TencentCloudClient) UseMpsClient() *mps.Client {
11111111 return me .mpsConn
11121112}
11131113
1114- // UseTkeClient returns tke client for service
1114+ // UseCwpClient returns tke client for service
11151115func (me * TencentCloudClient ) UseCwpClient () * cwp.Client {
11161116 if me .cwpConn != nil {
11171117 return me .cwpConn
You can’t perform that action at this time.
0 commit comments