Skip to content

Commit

Permalink
r/aws_route: Fix linter S1039: unnecessary use of fmt.Sprintf.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jan 6, 2021
1 parent 0c3f7f9 commit 4265932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/resource_aws_route_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2788,13 +2788,13 @@ resource "aws_route_table" "test" {
func testAccAWSRouteConfigIpv4LocalRoute(rName string) string {
return composeConfig(
testAccAWSRouteConfigIpv4NoRoute(rName),
fmt.Sprintf(`
`
resource "aws_route" "test" {
route_table_id = aws_route_table.test.id
destination_cidr_block = aws_vpc.test.cidr_block
gateway_id = "local"
}
`))
`)
}

func testAccAWSRouteConfigIpv4CarrierGateway(rName, destinationCidr string) string {
Expand Down

0 comments on commit 4265932

Please sign in to comment.