Ensuring we return an empty slice to match

This commit is contained in:
tombuildsstuff 2017-05-10 20:32:10 +01:00 committed by Paul Stack
parent 6fa4ee9997
commit b3a02b0b78
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ func expandAzureRmNetworkInterfaceIpConfigurations(d *schema.ResourceData) ([]ne
subnetId, err := parseAzureResourceID(subnet_id)
if err != nil {
return nil, nil, err
return []network.InterfaceIPConfiguration{}, nil, err
}
subnetName := subnetId.Path["subnets"]
virtualNetworkName := subnetId.Path["virtualNetworks"]