fix typo in health check url

parent 4c115a86
...@@ -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