commit | 5f7cf183f41ec2535352b295719419ba50a31177 | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Thu Oct 23 08:35:24 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Thu Oct 23 14:20:45 2014 -0400 |
tree | 5cde4b5af51fe66decd1c9ed98f241e6c265f64c | |
parent | f928eff1f0b12cbefb228389139d61490c95e08f [diff] [blame] |
Use an options struct for Resize.
diff --git a/openstack/compute/v2/servers/requests_test.go b/openstack/compute/v2/servers/requests_test.go index 5b65d86..f3b8a7f 100644 --- a/openstack/compute/v2/servers/requests_test.go +++ b/openstack/compute/v2/servers/requests_test.go
@@ -172,7 +172,7 @@ w.WriteHeader(http.StatusAccepted) }) - res := Resize(client.ServiceClient(), "1234asdf", "2") + res := Resize(client.ServiceClient(), "1234asdf", ResizeOpts{FlavorRef: "2"}) th.AssertNoErr(t, res.Err) }