Renaming functions to be more appropriate to their task
diff --git a/acceptance/openstack/compute/v2/floatingip_test.go b/acceptance/openstack/compute/v2/floatingip_test.go
index 32f9a04..de6efc9 100644
--- a/acceptance/openstack/compute/v2/floatingip_test.go
+++ b/acceptance/openstack/compute/v2/floatingip_test.go
@@ -71,11 +71,11 @@
FloatingIP: fip.IP,
}
- err := floatingip.AssociateFloatingIP(client, associateOpts).ExtractErr()
+ err := floatingip.AssociateInstance(client, associateOpts).ExtractErr()
th.AssertNoErr(t, err)
t.Logf("Associated floating IP %v from instance %v", fip.IP, serverId)
defer func() {
- err = floatingip.DisassociateFloatingIP(client, associateOpts).ExtractErr()
+ err = floatingip.DisassociateInstance(client, associateOpts).ExtractErr()
th.AssertNoErr(t, err)
t.Logf("Disassociated floating IP %v from instance %v", fip.IP, serverId)
}()
@@ -108,11 +108,11 @@
FixedIP: fixedIP,
}
- err = floatingip.AssociateFloatingIP(client, associateOpts).ExtractErr()
+ err = floatingip.AssociateInstance(client, associateOpts).ExtractErr()
th.AssertNoErr(t, err)
t.Logf("Associated floating IP %v from instance %v with Fixed IP %v", fip.IP, serverId, fixedIP)
defer func() {
- err = floatingip.DisassociateFloatingIP(client, associateOpts).ExtractErr()
+ err = floatingip.DisassociateInstance(client, associateOpts).ExtractErr()
th.AssertNoErr(t, err)
t.Logf("Disassociated floating IP %v from instance %v with Fixed IP %v", fip.IP, serverId, fixedIP)
}()