Skip to content

Commit

Permalink
Removing unnecessary Config allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-phansalkar-189 committed Jun 13, 2022
1 parent 7ca6c3f commit 86a9b39
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ type RouteTableAssociationConfig struct {
// GetRouteTableAssociationConfig returns config for aws_route_table_association
func GetRouteTableAssociationConfig(e *ec2.SubnetRouteTableAssociation) []AWSResourceConfig {
cf := RouteTableAssociationConfig{
Config: Config{},
RouteTableID: e.RouteTableId,
SubnetID: e.SubnetId,
}
Expand Down
1 change: 0 additions & 1 deletion pkg/mapper/iac-providers/cft/config/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ type RouteConfig struct {
// GetRouteConfig returns config for aws_route
func GetRouteConfig(e *ec2.Route) []AWSResourceConfig {
cf := RouteConfig{
Config: Config{},
CarrierGatewayID: e.CarrierGatewayId,
DestinationCidrBlock: e.DestinationCidrBlock,
DestinationIpv6CidrBlock: e.DestinationIpv6CidrBlock,
Expand Down

0 comments on commit 86a9b39

Please sign in to comment.