Skip to content

Commit

Permalink
Update resource_arm_route_table.go
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte authored Aug 21, 2018
1 parent 6aadd90 commit 70f8816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurestack/resource_arm_route_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 70f8816

Please sign in to comment.