From f0082e63ff2f0e32dd5296254d3e4cffca2965bc Mon Sep 17 00:00:00 2001 From: Wmxs <54929266+WeiMengXS@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:56:05 +0800 Subject: [PATCH] fix(all): support four-layer lb --- .../services/clb/resource_tc_clb_target_group_attachments.go | 2 -- tencentcloud/services/clb/service_tencentcloud_clb.go | 1 - 2 files changed, 3 deletions(-) diff --git a/tencentcloud/services/clb/resource_tc_clb_target_group_attachments.go b/tencentcloud/services/clb/resource_tc_clb_target_group_attachments.go index 8905953195..e9a18e59ec 100644 --- a/tencentcloud/services/clb/resource_tc_clb_target_group_attachments.go +++ b/tencentcloud/services/clb/resource_tc_clb_target_group_attachments.go @@ -269,7 +269,6 @@ func parseParamToRequest(d *schema.ResourceData, param string, id string) (assoc targetGroupAssociation := clb.TargetGroupAssociation{} dMap[param] = id for name := range dMap { - fmt.Println(name, dMap[name]) if dMap[name] != nil && dMap[name].(string) != "" { setString(name, dMap[name].(string), &targetGroupAssociation) } @@ -322,7 +321,6 @@ func margeReadRequest(d *schema.ResourceData) ([]string, map[string]struct{}) { } associationsSet[strings.Join(ids, tccommon.FILED_SP)] = struct{}{} - fmt.Println("create cdr", strings.Join(ids, tccommon.FILED_SP)) } } if len(targetGroupList) < 1 && !isBindFromClb(resourceId) { diff --git a/tencentcloud/services/clb/service_tencentcloud_clb.go b/tencentcloud/services/clb/service_tencentcloud_clb.go index a77bcb9e43..c62f9c2ed3 100644 --- a/tencentcloud/services/clb/service_tencentcloud_clb.go +++ b/tencentcloud/services/clb/service_tencentcloud_clb.go @@ -2335,7 +2335,6 @@ func (me *ClbService) DescribeClbTargetGroupAttachmentsById(ctx context.Context, } key := strings.Join(info, tccommon.FILED_SP) - fmt.Println("read cdr", key) if _, ok := associationsSet[key]; ok { result = append(result, key) }