Skip to content

Commit a72a7b9

Browse files
authored
Merge pull request #513 from mbaldessari/update-golangci-v2.10.1
Update golangci-lint to v2.10.1
2 parents a4bc5ee + d2775e4 commit a72a7b9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Run golangci-lint
3030
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
3131
with:
32-
version: v2.8.0
32+
version: v2.10.1
3333
args: --timeout 5m -v
3434

3535
#--exclude SA5011

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GOFLAGS=-mod=vendor
99
REGISTRY ?= localhost
1010
UPLOADREGISTRY ?= quay.io/validatedpatterns
1111
GOLANGCI_IMG ?= docker.io/golangci/golangci-lint
12-
GOLANGCI_VERSION ?= 2.8.0
12+
GOLANGCI_VERSION ?= 2.10.1
1313

1414
# CI uses a non-writable home dir, make sure .cache is writable
1515
ifeq ("${HOME}", "/")

internal/controller/pattern_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ func (r *PatternReconciler) checkSpokeApplicationsGone(appOfApps bool) (bool, er
978978
}
979979

980980
// Make the request
981-
resp, err := httpClient.Do(req)
981+
resp, err := httpClient.Do(req) //nolint:gosec // URL is constructed from a known internal service endpoint
982982
if err != nil {
983983
return false, fmt.Errorf("failed to make HTTP request to search service: %w", err)
984984
}

0 commit comments

Comments
 (0)