Skip to content

Commit a665b4f

Browse files
author
Andre Ferraz
committed
go linter fix
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
1 parent 7b71a20 commit a665b4f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/git/client.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ func NewClientExt(rawRepoURL string, root string, creds Creds, insecure bool, en
155155

156156
// Returns a HTTP client object suitable for go-git to use using the following
157157
// pattern:
158-
// - If insecure is true, always returns a client with certificate verification
159-
// turned off.
160-
// - If one or more custom certificates are stored for the repository, returns
161-
// a client with those certificates in the list of root CAs used to verify
162-
// the server's certificate.
163-
// - Otherwise (and on non-fatal errors), a default HTTP client is returned.
158+
// - If insecure is true, always returns a client with certificate verification
159+
// turned off.
160+
// - If one or more custom certificates are stored for the repository, returns
161+
// a client with those certificates in the list of root CAs used to verify
162+
// the server's certificate.
163+
// - Otherwise (and on non-fatal errors), a default HTTP client is returned.
164164
func GetRepoHTTPClient(repoURL string, insecure bool, creds Creds, proxyURL string) *http.Client {
165165
// Default HTTP client
166166
var customHTTPClient = &http.Client{

0 commit comments

Comments
 (0)