Use Extract() methods in acceptance tests.
diff --git a/acceptance/openstack/compute/v2/compute_test.go b/acceptance/openstack/compute/v2/compute_test.go
index f5d0a65..15b5163 100644
--- a/acceptance/openstack/compute/v2/compute_test.go
+++ b/acceptance/openstack/compute/v2/compute_test.go
@@ -32,11 +32,7 @@
func waitForStatus(client *gophercloud.ServiceClient, server *servers.Server, status string) error {
return tools.WaitFor(func() (bool, error) {
- response, err := servers.Get(client, server.ID)
- if err != nil {
- return false, err
- }
- latest, err := servers.ExtractServer(response)
+ latest, err := servers.Get(client, server.ID).Extract()
if err != nil {
return false, err
}