commit | 4149d7c6ebe22d27b77763b977b1a667269729a5 | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Thu Oct 23 21:23:46 2014 -0500 |
committer | Jon Perritt <jrperritt@gmail.com> | Thu Oct 23 21:23:46 2014 -0500 |
tree | b59fdade8fd599cb749100ef06185a0516a5c319 | |
parent | 654fb0e699f3ca551fdc17cfdf24651208be4a27 [diff] [blame] |
additionally return 'error' from 'ToCreateServerMap'
diff --git a/openstack/compute/v2/extensions/diskconfig/requests_test.go b/openstack/compute/v2/extensions/diskconfig/requests_test.go index 1f4f626..e3c26d4 100644 --- a/openstack/compute/v2/extensions/diskconfig/requests_test.go +++ b/openstack/compute/v2/extensions/diskconfig/requests_test.go
@@ -29,7 +29,9 @@ } } ` - th.CheckJSONEquals(t, expected, ext.ToServerCreateMap()) + actual, err := ext.ToServerCreateMap() + th.AssertNoErr(t, err) + th.CheckJSONEquals(t, expected, actual) } func TestRebuildOpts(t *testing.T) {