From ef886556bc89d7cdba9ef4a1ca24c8240c822c3e Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Tue, 24 Dec 2024 21:15:18 +0800 Subject: [PATCH] add --- .../services/clb/resource_tc_clb_listener_default_domain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/services/clb/resource_tc_clb_listener_default_domain.go b/tencentcloud/services/clb/resource_tc_clb_listener_default_domain.go index 589dccfa56..9809d4f016 100644 --- a/tencentcloud/services/clb/resource_tc_clb_listener_default_domain.go +++ b/tencentcloud/services/clb/resource_tc_clb_listener_default_domain.go @@ -99,7 +99,7 @@ func resourceTencentCloudClbListenerDefaultDomainCreate(d *schema.ResourceData, logId, request.GetAction(), request.ToJsonString(), result.ToJsonString()) } - if result == nil || result.Response == nil || response.Response.RequestId == nil { + if result == nil || result.Response == nil || result.Response.RequestId == nil { return resource.NonRetryableError(fmt.Errorf("Modify domain attributes failed, Response is nil.")) } @@ -229,7 +229,7 @@ func resourceTencentCloudClbListenerDefaultDomainUpdate(d *schema.ResourceData, logId, request.GetAction(), request.ToJsonString(), result.ToJsonString()) } - if result == nil || result.Response == nil || response.Response.RequestId == nil { + if result == nil || result.Response == nil || result.Response.RequestId == nil { return resource.NonRetryableError(fmt.Errorf("Modify domain attributes failed, Response is nil.")) }