mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	removed unused defaultClientConfigForVersion()
functions from cmd_test.go. modified: pkg/kubectl/cmd/cmd_test.go
This commit is contained in:
		@@ -75,17 +75,6 @@ func defaultClientConfig() *restclient.Config {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func defaultClientConfigForVersion(version *schema.GroupVersion) *restclient.Config {
 | 
					 | 
				
			||||||
	return &restclient.Config{
 | 
					 | 
				
			||||||
		APIPath: "/api",
 | 
					 | 
				
			||||||
		ContentConfig: restclient.ContentConfig{
 | 
					 | 
				
			||||||
			NegotiatedSerializer: scheme.Codecs,
 | 
					 | 
				
			||||||
			ContentType:          runtime.ContentTypeJSON,
 | 
					 | 
				
			||||||
			GroupVersion:         version,
 | 
					 | 
				
			||||||
		},
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
func testData() (*api.PodList, *api.ServiceList, *api.ReplicationControllerList) {
 | 
					func testData() (*api.PodList, *api.ServiceList, *api.ReplicationControllerList) {
 | 
				
			||||||
	pods := &api.PodList{
 | 
						pods := &api.PodList{
 | 
				
			||||||
		ListMeta: metav1.ListMeta{
 | 
							ListMeta: metav1.ListMeta{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user