Merge pull request #14210 from fatmcgav/provider_openstack_fix_floatingip_association_deletion

provider/openstack: Handle disassociating FloatingIP's from a server
This commit is contained in:
Joe Topjian 2017-05-06 10:28:58 -06:00 committed by GitHub
commit a59e1183d1
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func resourceComputeFloatingIPAssociateV2Delete(d *schema.ResourceData, meta int
err = floatingips.DisassociateInstance(computeClient, instanceId, disassociateOpts).ExtractErr() err = floatingips.DisassociateInstance(computeClient, instanceId, disassociateOpts).ExtractErr()
if err != nil { if err != nil {
return fmt.Errorf("Error disassociating floating IP: %s", err) return CheckDeleted(d, err, "floating ip association")
} }
return nil return nil