Skip to content

Commit d7d01f0

Browse files
committed
add
1 parent f3df402 commit d7d01f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/services/clb/resource_tc_clb_listener.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ func resourceTencentCloudClbListenerRead(d *schema.ResourceData, meta interface{
529529
_ = d.Set("end_port", instance.EndPort)
530530
}
531531

532-
if instance.AttrFlags != nil || len(instance.AttrFlags) != 0 {
532+
if instance.AttrFlags != nil && len(instance.AttrFlags) != 0 {
533533
_ = d.Set("h2c_switch", true)
534534
} else {
535535
_ = d.Set("h2c_switch", false)

0 commit comments

Comments
 (0)