Skip to content

Commit

Permalink
Update data_source_route_table.go
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte authored Aug 21, 2018
1 parent a67e523 commit 6aadd90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurestack/data_source_route_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ func flattenRouteTableDataSourceRoutes(input *[]network.Route) []interface{} {
return results
}

func flattenRouteTableDataSourceSubnets(input *[]network.Subnet) []string {
func flattenRouteTableDataSourceSubnets(subnets *[]network.Subnet) []string {
output := make([]string, 0)

if subnets := input; subnets != nil {
if subnets != nil {
for _, subnet := range *subnets {
output = append(output, *subnet.ID)
}
Expand Down

0 comments on commit 6aadd90

Please sign in to comment.