Fix "validate-cluster.sh" to use "kubectl get componentstatus".

This commit is contained in:
Fabio Yeon
2015-04-15 13:04:22 -07:00
parent 951a125751
commit c6ef2ddf8a
32 changed files with 65 additions and 96 deletions

View File

@@ -65,7 +65,6 @@ func TestValidate(t *testing.T) {
StatusCode: test.code,
},
}
// fake := &http.Client{Transport: fakeRT}
status, data, err := s.DoServerCheck(fakeRT)
expect := fmt.Sprintf("http://%s:%d/healthz", s.Addr, s.Port)
if fakeRT.url != expect {