commit | d3dc254a81133743620b6cecf3cfad828af2c2df | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Mon Oct 20 10:10:48 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Mon Oct 20 10:10:48 2014 -0400 |
tree | 7055f2e56838e2c691acfddafd566f9dcb930f62 | |
parent | af26287550ad1380f52164349e47fafbfd7a5f89 [diff] [blame] |
Rename Result.Resp to Result.Body.
diff --git a/openstack/blockstorage/v1/apiversions/results.go b/openstack/blockstorage/v1/apiversions/results.go index c2ec935..7b0df11 100644 --- a/openstack/blockstorage/v1/apiversions/results.go +++ b/openstack/blockstorage/v1/apiversions/results.go
@@ -52,7 +52,7 @@ Version *APIVersion `mapstructure:"version"` } - err := mapstructure.Decode(r.Resp, &resp) + err := mapstructure.Decode(r.Body, &resp) return resp.Version, err }