Skip to content

Commit 7191c49

Browse files
committed
add
1 parent b3a4c7d commit 7191c49

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tencentcloud/services/cls/resource_tc_cls_cloud_product_log_task_extension.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ func resourceTencentCloudClsCloudProductLogTaskReadPreRequest0(ctx context.Conte
2929
logType := idSplit[2]
3030

3131
req.Filters = []*clsv20201016.Filter{
32-
&clsv20201016.Filter{
32+
{
3333
Key: common.StringPtr("instanceId"),
3434
Values: common.StringPtrs([]string{instanceId}),
3535
},
36-
&clsv20201016.Filter{
36+
{
3737
Key: common.StringPtr("assumerName"),
3838
Values: common.StringPtrs([]string{assumerName}),
3939
},
40-
&clsv20201016.Filter{
40+
{
4141
Key: common.StringPtr("logType"),
4242
Values: common.StringPtrs([]string{logType}),
4343
},
@@ -87,7 +87,7 @@ func resourceTencentCloudClsCloudProductLogTaskReadPreHandleResponse0(ctx contex
8787
logsetRequest := clsv20201016.NewDescribeLogsetsRequest()
8888
logsetResponse := clsv20201016.NewDescribeLogsetsResponse()
8989
logsetRequest.Filters = []*clsv20201016.Filter{
90-
&clsv20201016.Filter{
90+
{
9191
Key: common.StringPtr("logsetId"),
9292
Values: common.StringPtrs([]string{logsetId}),
9393
},
@@ -128,7 +128,7 @@ func resourceTencentCloudClsCloudProductLogTaskReadPreHandleResponse0(ctx contex
128128
topicRequest := clsv20201016.NewDescribeTopicsRequest()
129129
topicResponse := clsv20201016.NewDescribeTopicsResponse()
130130
topicRequest.Filters = []*clsv20201016.Filter{
131-
&clsv20201016.Filter{
131+
{
132132
Key: common.StringPtr("topicId"),
133133
Values: common.StringPtrs([]string{topicId}),
134134
},

tencentcloud/services/cos/resource_tc_cos_bucket.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ func ResourceTencentCloudCosBucket() *schema.Resource {
583583
Type: schema.TypeBool,
584584
Optional: true,
585585
ForceNew: true,
586+
Computed: true,
586587
Description: "Indicates whether to create a bucket of metadata acceleration. For more information, please refer to `https://www.tencentcloud.com/document/product/436/43305`.",
587588
},
588589
"enable_intelligent_tiering": {

0 commit comments

Comments
 (0)