Commit b5ff25ca authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents 15992a6a e45ed2d5
...@@ -553,9 +553,9 @@ func TestBootstrapping(t *testing.T) { ...@@ -553,9 +553,9 @@ func TestBootstrapping(t *testing.T) {
t.Errorf("missing cluster-admin: %v", clusterRoles) 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 { if err != nil {
t.Error(err) t.Error(err)
} }
t.Errorf("expected %v, got %v", "asdf", string(healthBytes)) t.Errorf("error bootstrapping roles: %s", string(healthBytes))
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment