Skip to content

Commit 0e586c3

Browse files
tongyimingmikatong
and
mikatong
authored
update extends (#3298)
Co-authored-by: mikatong <[email protected]>
1 parent 6b4dd92 commit 0e586c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tencentcloud/services/cls/resource_tc_cls_topic.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ func resourceTencentCloudClsTopicCreate(d *schema.ResourceData, meta interface{}
244244
}
245245

246246
request.Extends = &topicExtendInfo
247+
} else {
248+
return fmt.Errorf("If `is_web_tracking` is true, Must set `extends` params.\n.")
247249
}
248250
} else {
249251
if _, ok := helper.InterfacesHeadMap(d, "extends"); ok {

0 commit comments

Comments
 (0)