From 9c2fb08f32dd81e36d8121a354f33c354e9d55da Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Thu, 19 Mar 2020 19:53:35 -0400 Subject: [PATCH] Update github.go (#1464) --- github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/github.go b/github/github.go index 644e230baec..15715cf0a92 100644 --- a/github/github.go +++ b/github/github.go @@ -296,7 +296,7 @@ func NewClient(httpClient *http.Client) *Client { // NewEnterpriseClient returns a new GitHub API client with provided // base URL and upload URL (often the same URL and is your GitHub Enterprise hostname). // If either URL does not have the suffix "/api/v3/", it will be added automatically. -// If a nil httpClient is provided, http.DefaultClient will be used. +// If a nil httpClient is provided, a new http.Client will be used. // // Note that NewEnterpriseClient is a convenience helper only; // its behavior is equivalent to using NewClient, followed by setting