Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tencentcloud/resource_tc_sqlserver_publish_subscribe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package tencentcloud
import (
"context"
"fmt"
sqlserver "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver/v20180328"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper"
"log"
"strings"
"testing"
"time"

sqlserver "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver/v20180328"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper"

"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)
Expand Down
2 changes: 0 additions & 2 deletions tencentcloud/resource_tc_tem_app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ func resourceTencentCloudTemAppConfigCreate(d *schema.ResourceData, meta interfa

var (
request = tem.NewCreateConfigDataRequest()
response *tem.CreateConfigDataResponse
environmentId string
name string
)
Expand Down Expand Up @@ -129,7 +128,6 @@ func resourceTencentCloudTemAppConfigCreate(d *schema.ResourceData, meta interfa
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
}
response = result
return nil
})

Expand Down
2 changes: 0 additions & 2 deletions tencentcloud/resource_tc_tem_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ func resourceTencentCloudTemGatewayCreate(d *schema.ResourceData, meta interface

var (
request = tem.NewModifyIngressRequest()
response *tem.ModifyIngressResponse
environmentId string
ingressName string
clusterNamespace string
Expand Down Expand Up @@ -327,7 +326,6 @@ func resourceTencentCloudTemGatewayCreate(d *schema.ResourceData, meta interface
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
}
response = result
return nil
})

Expand Down
2 changes: 0 additions & 2 deletions tencentcloud/resource_tc_tem_log_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func resourceTencentCloudTemLogConfigCreate(d *schema.ResourceData, meta interfa

var (
request = tem.NewCreateLogConfigRequest()
response *tem.CreateLogConfigResponse
environmentId string
applicationId string
name string
Expand Down Expand Up @@ -174,7 +173,6 @@ func resourceTencentCloudTemLogConfigCreate(d *schema.ResourceData, meta interfa
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
}
response = result
return nil
})

Expand Down
2 changes: 0 additions & 2 deletions tencentcloud/resource_tc_tem_workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ func resourceTencentCloudTemWorkloadCreate(d *schema.ResourceData, meta interfac

var (
request = tem.NewDeployApplicationRequest()
response *tem.DeployApplicationResponse
applicationId string
environmentId string
)
Expand Down Expand Up @@ -660,7 +659,6 @@ func resourceTencentCloudTemWorkloadCreate(d *schema.ResourceData, meta interfac
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
}
response = result
return nil
})

Expand Down