Skip to content

Commit 149db3d

Browse files
committed
fix: linter issues
Signed-off-by: Viacheslav Sychov <[email protected]>
1 parent f38ed57 commit 149db3d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Run golangci-lint
5858
uses: golangci/golangci-lint-action@v2
5959
with:
60-
version: v1.46.2
60+
version: v1.52.2
6161
args: --timeout 5m
6262
test:
6363
name: Ensure unit tests are passing

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)