Skip to content

Commit 813755d

Browse files
committed
chore: update changelog
1 parent bf57db4 commit 813755d

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 1.60.10 (November 22, 2021)
2+
3+
FEATURES:
4+
5+
* **New Resource**: `tencentcloud_eks_container_instance`
6+
* **New Resource**: `tencentcloud_dnspod_domain_instance`
7+
8+
BUGFIXES:
9+
10+
* Resource `tencentcloud_monitor_alarm_policy` remove alarm policy binding check
11+
12+
DEPRECATED:
13+
14+
* Disk type `CLOUD_BASIC` which referenced by CVM/TKE/CBS was no longer available
15+
116
## 1.60.9 (November 16, 2021)
217

318
BUGFIXES:

tencentcloud/resource_tc_eks_container_instance.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -865,14 +865,14 @@ func resourceTencentCloudEksContainerInstance() *schema.Resource {
865865
// DNSConfig
866866
"dns_names_servers": {
867867
Type: schema.TypeList,
868-
ForceNew: true,
868+
ForceNew: true,
869869
Optional: true,
870870
Description: "IP Addresses of DNS Servers.",
871871
Elem: &schema.Schema{Type: schema.TypeString},
872872
},
873873
"dns_searches": {
874874
Type: schema.TypeList,
875-
ForceNew: true,
875+
ForceNew: true,
876876
Optional: true,
877877
Description: "List of DNS Search Domain.",
878878
Elem: &schema.Schema{Type: schema.TypeString},
@@ -914,7 +914,7 @@ func resourceTencentCloudEksContainerInstance() *schema.Resource {
914914
"eip_max_bandwidth_out": {
915915
Type: schema.TypeInt,
916916
Optional: true,
917-
Description: "Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bits per second). Conflict with `existed_eip_ids`.",
917+
Description: "Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bits per second). Conflict with `existed_eip_ids`.",
918918
ConflictsWith: []string{"existed_eip_ids"},
919919
},
920920
"cam_role_name": {
@@ -1108,4 +1108,4 @@ func resourceTencentcloudEKSContainerInstanceDelete(d *schema.ResourceData, meta
11081108

11091109
func shouldEksCiRetryReading(status string) bool {
11101110
return status == "Pending" || status == "Updating" || status == "Creating"
1111-
}
1111+
}

tencentcloud/resource_tc_eks_container_instance_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TestAccTencentCloudEKSContainerInstance_basic(t *testing.T) {
5353
})
5454
}
5555

56-
func testAccCheckEksCiDestroy (s *terraform.State) error {
56+
func testAccCheckEksCiDestroy(s *terraform.State) error {
5757
logId := getLogId(contextNil)
5858
ctx := context.WithValue(context.TODO(), logIdKey, logId)
5959

@@ -127,4 +127,4 @@ resource "tencentcloud_eks_container_instance" "eci" {
127127
name = "alpine"
128128
image = "alpine"
129129
}
130-
}`
130+
}`

tencentcloud/service_tencentcloud_eks.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ func (me *EksService) DescribeEksContainerInstanceById(ctx context.Context, id s
193193
return
194194
}
195195

196-
197196
func (me *EksService) DescribeEksContainerInstancesByFilter(ctx context.Context, filters []*tke.Filter, limit uint64, offset uint64) (instances []*tke.EksCi, errRet error) {
198197
logId := getLogId(ctx)
199198

@@ -277,7 +276,7 @@ func (me *EksService) CreateEksContainerInstances(ctx context.Context, request *
277276
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n",
278277
logId, request.GetAction(), request.ToJsonString(), response.ToJsonString())
279278

280-
if response.Response != nil && len(response.Response.EksCiIds) > 0{
279+
if response.Response != nil && len(response.Response.EksCiIds) > 0 {
281280
id = *response.Response.EksCiIds[0]
282281
}
283282

0 commit comments

Comments
 (0)