Removing references to v1beta1 from hack/ and test/

This commit is contained in:
nikhiljindal
2015-04-13 15:55:28 -07:00
parent 86d3072492
commit a2c29d48ec
8 changed files with 86 additions and 64 deletions

View File

@@ -58,7 +58,7 @@ func CheckCadvisorHealthOnAllNodes(c *client.Client, timeout time.Duration) {
for _, node := range nodeList.Items {
// cadvisor is not accessible directly unless its port (4194 by default) is exposed.
// Here, we access '/stats/' REST endpoint on the kubelet which polls cadvisor internally.
statsResource := fmt.Sprintf("api/v1beta1/proxy/minions/%s/stats/", node.Name)
statsResource := fmt.Sprintf("api/v1beta3/proxy/nodes/%s/stats/", node.Name)
By(fmt.Sprintf("Querying stats from node %s using url %s", node.Name, statsResource))
_, err = c.Get().AbsPath(statsResource).Timeout(timeout).Do().Raw()
if err != nil {