Skip to content

Commit 7462d33

Browse files
committed
fix: golangci-lint
1 parent d53fb74 commit 7462d33

File tree

7 files changed

+43
-8
lines changed

7 files changed

+43
-8
lines changed

.changelog/2096.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
```release-note:new-data-source
2+
tencentcloud_tse_groups
3+
```
4+
5+
```release-note:new-data-source
6+
tencentcloud_tse_gateways
7+
```
8+
9+
```release-note:new-data-source
10+
tencentcloud_tse_gateway_routes
11+
```
12+
13+
```release-note:new-resource
14+
tencentcloud_tse_cngw_gateway
15+
```
16+
17+
```release-note:new-resource
18+
tencentcloud_tse_cngw_group
19+
```
20+
21+
```release-note:new-resource
22+
tencentcloud_tse_cngw_service_rate_limit
23+
```
24+
25+
```release-note:new-resource
26+
tencentcloud_tse_cngw_route
27+
```
28+
29+
```release-note:new-resource
30+
tencentcloud_tse_cngw_route_rate_limit
31+
```
32+
33+
```release-note:enhancement
34+
resource/tencentcloud_tse_cngw_service: Remove tags that don't work
35+
```

tencentcloud/data_source_tc_tse_gateways.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func dataSourceTencentCloudTseGateways() *schema.Resource {
114114
"vpc_config": {
115115
Type: schema.TypeList,
116116
Computed: true,
117-
Description: "vpc infomation.",
117+
Description: "vpc information.",
118118
Elem: &schema.Resource{
119119
Schema: map[string]*schema.Schema{
120120
"vpc_id": {
@@ -143,7 +143,7 @@ func dataSourceTencentCloudTseGateways() *schema.Resource {
143143
"tags": {
144144
Type: schema.TypeList,
145145
Computed: true,
146-
Description: "tags infomation of gatewayNote: This field may return null, indicating that a valid value is not available.",
146+
Description: "tags information of gatewayNote: This field may return null, indicating that a valid value is not available.",
147147
Elem: &schema.Resource{
148148
Schema: map[string]*schema.Schema{
149149
"tag_key": {

tencentcloud/data_source_tc_tse_groups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func dataSourceTencentCloudTseGroups() *schema.Resource {
6060
"result": {
6161
Computed: true,
6262
Type: schema.TypeList,
63-
Description: "groups infomation.",
63+
Description: "groups information.",
6464
Elem: &schema.Resource{
6565
Schema: map[string]*schema.Schema{
6666
"total_count": {

tencentcloud/resource_tc_tse_cngw_gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func resourceTencentCloudTseCngwGateway() *schema.Resource {
114114
Required: true,
115115
Type: schema.TypeList,
116116
MaxItems: 1,
117-
Description: "vpc infomation.",
117+
Description: "vpc information.",
118118
Elem: &schema.Resource{
119119
Schema: map[string]*schema.Schema{
120120
"vpc_id": {

website/docs/d/tse_gateways.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ In addition to all arguments above, the following attributes are exported:
6565
* `specification` - specification, 1c2g|2c4g|4c8g|8c16g.
6666
* `public_ip_addresses` - addresses of public internet.
6767
* `status` - status of gateway. May return values: `Creating`, `CreateFailed`, `Running`, `Modifying`, `UpdatingSpec`, `UpdateFailed`, `Deleting`, `DeleteFailed`, `Isolating`.
68-
* `tags` - tags infomation of gatewayNote: This field may return null, indicating that a valid value is not available.
68+
* `tags` - tags information of gatewayNote: This field may return null, indicating that a valid value is not available.
6969
* `tag_key` - tag key.
7070
* `tag_value` - tag value.
7171
* `trade_type` - trade type. `0`: postpaid, `1`: Prepaid.
7272
* `type` - gateway type.
73-
* `vpc_config` - vpc infomation.
73+
* `vpc_config` - vpc information.
7474
* `subnet_id` - subnet ID. Assign an IP address to the engine in the VPC subnet.
7575
* `vpc_id` - subnet ID. Assign an IP address to the engine in the VPC subnet.
7676
* `total_count` - total count.

website/docs/d/tse_groups.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The `filters` object supports the following:
4040

4141
In addition to all arguments above, the following attributes are exported:
4242

43-
* `result` - groups infomation.
43+
* `result` - groups information.
4444
* `gateway_group_list` - group list of gateway.
4545
* `binding_strategy` - associated strategy informationNote: This field may return null, indicating that a valid value is not available.
4646
* `config` - auto scaling configurationNote: This field may return null, indicating that a valid value is not available.

website/docs/r/tse_cngw_gateway.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The following arguments are supported:
6666
* `name` - (Required, String) gateway name, supports up to 60 characters.
6767
* `node_config` - (Required, List) gateway node configration.
6868
* `type` - (Required, String) gateway type,currently only supports kong.
69-
* `vpc_config` - (Required, List) vpc infomation.
69+
* `vpc_config` - (Required, List) vpc information.
7070
* `description` - (Optional, String) description information, up to 120 characters.
7171
* `enable_cls` - (Optional, Bool) whether to enable CLS log. Default value: fasle.
7272
* `engine_region` - (Optional, String) engine region of gateway.

0 commit comments

Comments
 (0)