remove unused variables on

pkg/controller/serviceaccount/serviceaccounts_controller_test.go
	pkg/controller/endpoint/endpoints_controller_test.go
pull/8/head
WanLinghao 2018-05-09 17:35:47 +08:00
parent ce2bb3d77f
commit c68a11d042
2 changed files with 0 additions and 10 deletions

View File

@ -110,11 +110,6 @@ func addNotReadyPodsWithSpecifiedRestartPolicyAndPhase(store cache.Store, namesp
}
}
type serverResponse struct {
statusCode int
obj interface{}
}
func makeTestServer(t *testing.T, namespace string) (*httptest.Server, *utiltesting.FakeHandler) {
fakeEndpointsHandler := utiltesting.FakeHandler{
StatusCode: http.StatusOK,

View File

@ -29,11 +29,6 @@ import (
"k8s.io/kubernetes/pkg/controller"
)
type serverResponse struct {
statusCode int
obj interface{}
}
func TestServiceAccountCreation(t *testing.T) {
ns := metav1.NamespaceDefault