commit | 40444fbc2b10960682b34e6822eb9179216e1ae1 | [log] [tgz] |
---|---|---|
author | Samuel A. Falvo II <sam.falvo@rackspace.com> | Mon Jun 30 16:00:17 2014 -0700 |
committer | Samuel A. Falvo II <sam.falvo@rackspace.com> | Mon Jun 30 16:00:17 2014 -0700 |
tree | 413f5b6899141b0a9f7d5bbf52cdb1bf1d444d6f | |
parent | 9f90f77dc6c3aa792eaff9e7b584109bd2d6dc1a [diff] |
Fix #168 - prevent panic when calling ServerById() on non-existent resource
diff --git a/servers.go b/servers.go index a00577e..425853b 100644 --- a/servers.go +++ b/servers.go
@@ -86,6 +86,7 @@ MoreHeaders: map[string]string{ "X-Auth-Token": gsp.access.AuthToken(), }, + OkCodes: []int{200}, }) })