docs: Update GetHTTPClient comment
This commit is contained in:
1 parent
7daf2b5cac
commit
319f460553
1 file changed
+1
-1
+1
-1
@@ -17,7 +17,7 @@ import (
|
||||
// injectedHTTPClient is used for testing purposes
|
||||
var injectedHTTPClient *http.Client
|
||||
|
||||
// GetHTTPClient returns the shared HTTP client
|
||||
// GetHTTPClient returns the shared HTTP client, or the client from the configuration passed
|
||||
func GetHTTPClient(config *Config) *http.Client {
|
||||
if injectedHTTPClient != nil {
|
||||
return injectedHTTPClient
|
||||
|
||||
Reference in new issue
Block a user