mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
remove unused variables on
pkg/controller/serviceaccount/serviceaccounts_controller_test.go pkg/controller/endpoint/endpoints_controller_test.go
This commit is contained in:
parent
ce2bb3d77f
commit
c68a11d042
@ -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) {
|
func makeTestServer(t *testing.T, namespace string) (*httptest.Server, *utiltesting.FakeHandler) {
|
||||||
fakeEndpointsHandler := utiltesting.FakeHandler{
|
fakeEndpointsHandler := utiltesting.FakeHandler{
|
||||||
StatusCode: http.StatusOK,
|
StatusCode: http.StatusOK,
|
||||||
|
@ -29,11 +29,6 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/controller"
|
"k8s.io/kubernetes/pkg/controller"
|
||||||
)
|
)
|
||||||
|
|
||||||
type serverResponse struct {
|
|
||||||
statusCode int
|
|
||||||
obj interface{}
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestServiceAccountCreation(t *testing.T) {
|
func TestServiceAccountCreation(t *testing.T) {
|
||||||
ns := metav1.NamespaceDefault
|
ns := metav1.NamespaceDefault
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user