Skip to content

Commit 319f460

Browse files
committed
docs: Update GetHTTPClient comment
1 parent 7daf2b5 commit 319f460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// injectedHTTPClient is used for testing purposes
1818
var injectedHTTPClient *http.Client
1919

20-
// GetHTTPClient returns the shared HTTP client
20+
// GetHTTPClient returns the shared HTTP client, or the client from the configuration passed
2121
func GetHTTPClient(config *Config) *http.Client {
2222
if injectedHTTPClient != nil {
2323
return injectedHTTPClient

0 commit comments

Comments
 (0)