cleanup cruft from API server structs

This commit is contained in:
deads2k
2016-09-30 12:16:32 -04:00
parent e72f26a3ff
commit 406c0a36ae
11 changed files with 69 additions and 76 deletions

View File

@@ -342,7 +342,7 @@ func startServiceAccountTestServer(t *testing.T) (*clientset.Clientset, restclie
h := &framework.MasterHolder{Initialized: make(chan struct{})}
apiServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
<-h.Initialized
h.M.Handler.ServeHTTP(w, req)
h.M.GenericAPIServer.Handler.ServeHTTP(w, req)
}))
// Anonymous client config