commit | 72f7dfb0e636cb6712db036bbb2fe2f9cf6cbd15 | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Tue Sep 02 14:06:00 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Tue Sep 02 14:06:00 2014 -0400 |
tree | d6df24ea3bf550c3369937a8001cc4325da0effd | |
parent | ccd020bcada931a04bed29b0dac16187f8994d9c [diff] [blame] |
The version endpoint returns a 300.
diff --git a/openstack/utils/choose_version.go b/openstack/utils/choose_version.go index 6dbb8ac..7604f75 100644 --- a/openstack/utils/choose_version.go +++ b/openstack/utils/choose_version.go
@@ -45,7 +45,7 @@ var resp response _, err := perigee.Request("GET", baseEndpoint, perigee.Options{ Results: &resp, - OkCodes: []int{200}, + OkCodes: []int{200, 300}, }) if err != nil {