CreateMetadata -> ResetMetadata
diff --git a/openstack/compute/v2/servers/requests_test.go b/openstack/compute/v2/servers/requests_test.go
index 0343700..017e793 100644
--- a/openstack/compute/v2/servers/requests_test.go
+++ b/openstack/compute/v2/servers/requests_test.go
@@ -235,14 +235,14 @@
th.AssertDeepEquals(t, expected, actual)
}
-func TestCreateMetadata(t *testing.T) {
+func TestResetMetadata(t *testing.T) {
th.SetupHTTP()
defer th.TeardownHTTP()
- HandleMetadataCreateSuccessfully(t)
+ HandleMetadataResetSuccessfully(t)
expected := map[string]string{"foo": "bar", "this": "that"}
- actual, err := CreateMetadata(client.ServiceClient(), "1234asdf", MetadataOpts{
+ actual, err := ResetMetadata(client.ServiceClient(), "1234asdf", MetadataOpts{
"foo": "bar",
"this": "that",
}).Extract()