commit | a33da23a2460442ab0321f41ff2020ae367211ed | [log] [tgz] |
---|---|---|
author | Jon Perritt <jon.perritt@rackspace.com> | Wed Mar 02 04:43:08 2016 -0600 |
committer | Jon Perritt <jon.perritt@rackspace.com> | Wed Mar 02 04:43:08 2016 -0600 |
tree | dd625420434d9fe852d3934b270721f058b504e7 | |
parent | 4024a028f70f4205eaeec131018a1860cc5a559c [diff] [blame] |
more error types; RequestOptsBuilder error fixes
diff --git a/openstack/utils/choose_version.go b/openstack/utils/choose_version.go index caeaf63..c605d08 100644 --- a/openstack/utils/choose_version.go +++ b/openstack/utils/choose_version.go
@@ -59,7 +59,7 @@ } var resp response - _, err := client.Request("GET", client.IdentityBase, gophercloud.RequestOpts{ + _, err := client.Request("GET", client.IdentityBase, &gophercloud.RequestOpts{ JSONResponse: &resp, OkCodes: []int{200, 300}, })