Ensuring we return an empty slice to match
This commit is contained in:
parent
6fa4ee9997
commit
b3a02b0b78
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue