Merge pull request #5432 from jtopjian/openstack-instance-tenantnet-403
provider/openstack: Account for a 403 reply from os-tenant-networks
This commit is contained in:
commit
a786d3d4ae
|
@ -922,7 +922,7 @@ func getInstanceNetworks(computeClient *gophercloud.ServiceClient, d *schema.Res
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if errCode.Actual == 404 {
|
if errCode.Actual == 404 || errCode.Actual == 403 {
|
||||||
tenantNetworkExt = false
|
tenantNetworkExt = false
|
||||||
} else {
|
} else {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue