make v1 enabled by default

This commit is contained in:
Chao Xu
2015-06-04 11:37:44 -07:00
parent 02f3142f41
commit ef61b031f5
9 changed files with 8 additions and 20 deletions

View File

@@ -82,7 +82,6 @@ func runAMaster(t *testing.T) (*master.Master, *httptest.Server) {
APIPrefix: "/api",
Authorizer: apiserver.NewAlwaysAllowAuthorizer(),
AdmissionControl: admit.NewAlwaysAdmit(),
EnableV1: true,
})
s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {