Renaming HTTPClientFunc to CreateHTTPClient

This commit is contained in:
Kris
2015-11-11 11:54:58 -08:00
parent 4a4d195419
commit eacf65ddce
21 changed files with 58 additions and 58 deletions

View File

@@ -64,7 +64,7 @@ func fakeClientWith(testName string, t *testing.T, data map[string]string) Clien
return ClientMapperFunc(func(*meta.RESTMapping) (RESTClient, error) {
return &fake.RESTClient{
Codec: testapi.Default.Codec(),
Client: fake.HTTPClientFunc(func(req *http.Request) (*http.Response, error) {
Client: fake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) {
p := req.URL.Path
q := req.URL.RawQuery
if len(q) != 0 {