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:
Joe Topjian 2016-03-03 21:35:40 -07:00
commit a786d3d4ae
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ func getInstanceNetworks(computeClient *gophercloud.ServiceClient, d *schema.Res
return nil, err
}
if errCode.Actual == 404 {
if errCode.Actual == 404 || errCode.Actual == 403 {
tenantNetworkExt = false
} else {
return nil, err