Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenEarth committed Dec 24, 2024
1 parent 7bb3295 commit 9112889
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func resourceTencentCloudClbListenerDefaultDomainCreate(d *schema.ResourceData,
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
}

if result == nil {
if result == nil || result.Response == nil || response.Response.RequestId == nil {
e = fmt.Errorf("modify domain failed")
return resource.NonRetryableError(e)
}
Expand Down Expand Up @@ -230,7 +230,7 @@ func resourceTencentCloudClbListenerDefaultDomainUpdate(d *schema.ResourceData,
logId, request.GetAction(), request.ToJsonString(), result.ToJsonString())
}

if result == nil {
if result == nil || result.Response == nil || response.Response.RequestId == nil {
e = fmt.Errorf("modify domain failed")
return resource.NonRetryableError(e)
}
Expand Down

0 comments on commit 9112889

Please sign in to comment.