mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +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:
		@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user