Remove bad heuristic path manipulation

This commit is contained in:
Kris
2015-11-05 14:42:36 -08:00
parent 4711a87323
commit 9e1afbceb0
4 changed files with 2 additions and 56 deletions

View File

@@ -149,7 +149,7 @@ func (c *Client) ServerVersion() (*version.Info, error) {
// ServerAPIVersions retrieves and parses the list of API versions the server supports.
func (c *Client) ServerAPIVersions() (*unversioned.APIVersions, error) {
body, err := c.Get().UnversionedPath("").Do().Raw()
body, err := c.Get().AbsPath("/api").Do().Raw()
if err != nil {
return nil, err
}