Skip to content

Commit c0d06cd

Browse files
committed
fmt
1 parent 4216671 commit c0d06cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tencentcloud/data_source_tc_cam_group_memberships.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ package tencentcloud
1313

1414
import (
1515
"context"
16-
"github.com/terraform-providers/terraform-provider-tencentcloud/tencentcloud/internal/helper"
1716
"log"
1817

1918
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
2019
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
20+
"github.com/terraform-providers/terraform-provider-tencentcloud/tencentcloud/internal/helper"
2121
)
2222

2323
func dataSourceTencentCloudCamGroupMemberships() *schema.Resource {

tencentcloud/data_source_tc_dnats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func dataSourceTencentCloudDnatsRead(d *schema.ResourceData, meta interface{}) e
216216
}
217217
dnatList = append(dnatList, mapping)
218218
var entry = &vpc.DestinationIpPortTranslationNatRule{}
219-
entry.IpProtocol = helper.String(*dnat.IpProtocol)
219+
entry.IpProtocol = dnat.IpProtocol
220220
entry.PublicIpAddress = dnat.PublicIpAddress
221221
entry.PublicPort = dnat.PublicPort
222222
ids = append(ids, buildDnatId(entry, *dnat.VpcId, *dnat.NatGatewayId))

0 commit comments

Comments
 (0)