From 28538bcc7fcbdf37f7b4beb30012ae8f19d92a89 Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Thu, 19 Mar 2020 15:44:59 -0400 Subject: [PATCH] Update github.go --- 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