Skip to content

Commit

Permalink
Update dependency golangci/golangci-lint to v1.64.2 (#3124)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Feb 13, 2025
1 parent f2f77cb commit 798a2cb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6.3.2
with:
working-directory: ${{ matrix.directory }}
version: v1.63.4 # renovate: datasource=github-tags depName=golangci/golangci-lint
version: v1.64.2 # renovate: datasource=github-tags depName=golangci/golangci-lint

njs-lint:
name: NJS Lint
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
- javascript

- repo: https://github.com/golangci/golangci-lint
rev: v1.63.4
rev: v1.64.2
hooks:
- id: golangci-lint-full
name: golangci-lint-root
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GO_LINKER_FLAGS = $(GO_LINKER_FLAGS_OPTIMIZATIONS) $(GO_LINKER_FlAGS_VARS)

# tools versions
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION = v1.63.4
GOLANGCI_LINT_VERSION = v1.64.2
# renovate: datasource=docker depName=kindest/node
KIND_K8S_VERSION = v1.32.0
# renovate: datasource=github-tags depName=norwoodj/helm-docs
Expand Down
6 changes: 3 additions & 3 deletions internal/mode/static/state/graph/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ func processPolicies(
continue
}
case hrGroupKind, grpcGroupKind:
if route, exists := routes[routeKeyForKind(ref.Kind, refNsName)]; !exists {
continue
} else {
if route, exists := routes[routeKeyForKind(ref.Kind, refNsName)]; exists {
targetedRoutes[client.ObjectKeyFromObject(route.Source)] = route
} else {
continue
}
case serviceGroupKind:
if _, exists := services[refNsName]; !exists {
Expand Down

0 comments on commit 798a2cb

Please sign in to comment.