From 70f8816623bf9a675b595316644126668fc40c48 Mon Sep 17 00:00:00 2001 From: kt Date: Tue, 21 Aug 2018 15:50:24 -0700 Subject: [PATCH] Update resource_arm_route_table.go --- azurestack/resource_arm_route_table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azurestack/resource_arm_route_table.go b/azurestack/resource_arm_route_table.go index 1a7e399fe..7d553841a 100644 --- a/azurestack/resource_arm_route_table.go +++ b/azurestack/resource_arm_route_table.go @@ -249,10 +249,10 @@ func flattenRouteTableRoutes(input *[]network.Route) []interface{} { return results } -func flattenRouteTableSubnets(input *[]network.Subnet) []string { +func flattenRouteTableSubnets(subnets *[]network.Subnet) []string { output := []string{} - if subnets := input; subnets != nil { + if subnets != nil { for _, subnet := range *subnets { output = append(output, *subnet.ID) }