Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: v2.8.0
version: v2.10.1
args: --timeout 5m -v

#--exclude SA5011
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GOFLAGS=-mod=vendor
REGISTRY ?= localhost
UPLOADREGISTRY ?= quay.io/validatedpatterns
GOLANGCI_IMG ?= docker.io/golangci/golangci-lint
GOLANGCI_VERSION ?= 2.8.0
GOLANGCI_VERSION ?= 2.10.1

# CI uses a non-writable home dir, make sure .cache is writable
ifeq ("${HOME}", "/")
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/pattern_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ func (r *PatternReconciler) checkSpokeApplicationsGone(appOfApps bool) (bool, er
}

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