Merge pull request #53404 from liggitt/bootstrap-typo

Automatic merge from submit-queue (batch tested with PRs 49826, 53404). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix typo in health check url

fixes the url used to scrape bootstrapping details in a test failure case
This commit is contained in:
Kubernetes Submit Queue 2017-10-03 15:43:47 -07:00 committed by GitHub
commit b5ff25caf4

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))
}