Merge pull request #347 from julienvey/okcodes
Add missing OK Codes for servers.Get
diff --git a/openstack/compute/v2/servers/requests.go b/openstack/compute/v2/servers/requests.go
index 79d7998..81a4fca 100644
--- a/openstack/compute/v2/servers/requests.go
+++ b/openstack/compute/v2/servers/requests.go
@@ -230,6 +230,7 @@
_, result.Err = perigee.Request("GET", getURL(client, id), perigee.Options{
Results: &result.Body,
MoreHeaders: client.AuthenticatedHeaders(),
+ OkCodes: []int{200, 203},
})
return result
}