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:
commit
a59e1183d1
|
@ -110,7 +110,7 @@ func resourceComputeFloatingIPAssociateV2Delete(d *schema.ResourceData, meta int
|
|||
|
||||
err = floatingips.DisassociateInstance(computeClient, instanceId, disassociateOpts).ExtractErr()
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error disassociating floating IP: %s", err)
|
||||
return CheckDeleted(d, err, "floating ip association")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue