commit | 1f61778024125d4f6503c215c7ddb18bd671da91 | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Mon Oct 27 11:37:39 2014 -0500 |
committer | Jon Perritt <jrperritt@gmail.com> | Mon Oct 27 11:38:23 2014 -0500 |
tree | edc85350f135b291ece70c22e7df936235855a84 | |
parent | 10a7ec1806558f3fe5c535b4b5da933f90a61d9c [diff] [blame] |
update block storage 'Delete' acceptance tests to use 'Extract'
diff --git a/acceptance/openstack/blockstorage/v1/volumes_test.go b/acceptance/openstack/blockstorage/v1/volumes_test.go index d2281e6..b2f2600 100644 --- a/acceptance/openstack/blockstorage/v1/volumes_test.go +++ b/acceptance/openstack/blockstorage/v1/volumes_test.go
@@ -47,8 +47,8 @@ if err != nil { t.Error(err) } - res = volumes.Delete(client, cv.ID) - if res.Err != nil { + err = volumes.Delete(client, cv.ID).Extract() + if err != nil { t.Error(err) return }