Rename HttpClientFunc -> HTTPClientFunc

This commit is contained in:
Clayton Coleman
2014-12-28 19:31:20 -05:00
parent 502204ad6d
commit 8005c85e6c
2 changed files with 4 additions and 4 deletions

View File

@@ -80,9 +80,9 @@ func (c *Fake) ServerAPIVersions() (*api.APIVersions, error) {
return &api.APIVersions{Versions: []string{"v1beta1", "v1beta2"}}, nil
}
type HttpClientFunc func(*http.Request) (*http.Response, error)
type HTTPClientFunc func(*http.Request) (*http.Response, error)
func (f HttpClientFunc) Do(req *http.Request) (*http.Response, error) {
func (f HTTPClientFunc) Do(req *http.Request) (*http.Response, error) {
return f(req)
}