mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 01:01:22 +00:00
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:
commit
b5ff25caf4
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user