mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
fix typo in health check url
This commit is contained in:
parent
4c115a862b
commit
e45ed2d5b9
@ -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