Skip to content

Commit 798a2cb

Browse files
renovate[bot]bjee19sjberman
authored
Update dependency golangci/golangci-lint to v1.64.2 (#3124)
* Update dependency golangci/golangci-lint to v1.64.2 | datasource | package | from | to | | ----------- | ---------------------- | ------- | ------- | | github-tags | golangci/golangci-lint | v1.63.4 | v1.64.2 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update conditional check * Fix conditional --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Jee <[email protected]> Co-authored-by: Saylor Berman <[email protected]>
1 parent f2f77cb commit 798a2cb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6.3.2
4141
with:
4242
working-directory: ${{ matrix.directory }}
43-
version: v1.63.4 # renovate: datasource=github-tags depName=golangci/golangci-lint
43+
version: v1.64.2 # renovate: datasource=github-tags depName=golangci/golangci-lint
4444

4545
njs-lint:
4646
name: NJS Lint

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
- javascript
4040

4141
- repo: https://github.com/golangci/golangci-lint
42-
rev: v1.63.4
42+
rev: v1.64.2
4343
hooks:
4444
- id: golangci-lint-full
4545
name: golangci-lint-root

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GO_LINKER_FLAGS = $(GO_LINKER_FLAGS_OPTIMIZATIONS) $(GO_LINKER_FlAGS_VARS)
2323

2424
# tools versions
2525
# renovate: datasource=github-tags depName=golangci/golangci-lint
26-
GOLANGCI_LINT_VERSION = v1.63.4
26+
GOLANGCI_LINT_VERSION = v1.64.2
2727
# renovate: datasource=docker depName=kindest/node
2828
KIND_K8S_VERSION = v1.32.0
2929
# renovate: datasource=github-tags depName=norwoodj/helm-docs

internal/mode/static/state/graph/policies.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ func processPolicies(
221221
continue
222222
}
223223
case hrGroupKind, grpcGroupKind:
224-
if route, exists := routes[routeKeyForKind(ref.Kind, refNsName)]; !exists {
225-
continue
226-
} else {
224+
if route, exists := routes[routeKeyForKind(ref.Kind, refNsName)]; exists {
227225
targetedRoutes[client.ObjectKeyFromObject(route.Source)] = route
226+
} else {
227+
continue
228228
}
229229
case serviceGroupKind:
230230
if _, exists := services[refNsName]; !exists {

0 commit comments

Comments
 (0)