removed unused defaultClientConfigForVersion()

functions from cmd_test.go.

 modified:   pkg/kubectl/cmd/cmd_test.go
pull/6/head
WanLinghao 2017-10-19 16:51:28 +08:00 committed by WanLinghao
parent 134e89e663
commit 3be3cf6b64
1 changed files with 0 additions and 11 deletions

View File

@ -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) {
pods := &api.PodList{
ListMeta: metav1.ListMeta{