fix typo in health check url

This commit is contained in:
Jordan Liggitt 2017-10-03 16:44:38 -04:00
parent 4c115a862b
commit e45ed2d5b9
No known key found for this signature in database
GPG Key ID: 39928704103C7229

View File

@ -553,9 +553,9 @@ func TestBootstrapping(t *testing.T) {
t.Errorf("missing cluster-admin: %v", clusterRoles)
healthBytes, err := clientset.Discovery().RESTClient().Get().AbsPath("/healthz/poststarthooks/rbac/bootstrap-roles").DoRaw()
healthBytes, err := clientset.Discovery().RESTClient().Get().AbsPath("/healthz/poststarthook/rbac/bootstrap-roles").DoRaw()
if err != nil {
t.Error(err)
}
t.Errorf("expected %v, got %v", "asdf", string(healthBytes))
t.Errorf("error bootstrapping roles: %s", string(healthBytes))
}