fixed: instance possible not found when deploying tencent CLB via SSL api

修复了重构导致腾讯云CLB通过SSL接口部署时可能找不到实例的bug
This commit is contained in:
Leo Chen 2024-11-12 17:59:13 +08:00
parent 80caf881ae
commit e9b6fb55ff

View File

@ -102,7 +102,7 @@ func (d *TencentCLBDeployer) Deploy(ctx context.Context) error {
func (d *TencentCLBDeployer) createSdkClients(secretId, secretKey, region string) (*tencentCLBDeployerSdkClients, error) {
credential := common.NewCredential(secretId, secretKey)
sslClient, err := tcSsl.NewClient(credential, "", profile.NewClientProfile())
sslClient, err := tcSsl.NewClient(credential, region, profile.NewClientProfile())
if err != nil {
return nil, err
}