Skip to content

Commit e156f05

Browse files
authored
Merge branch 'main' into docs/badges
2 parents e5a6881 + 837dc97 commit e156f05

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Lint Go
3333
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
3434
with:
35-
version: v1.60.3 # renovate: datasource=github-tags depName=golangci/golangci-lint
35+
version: v1.61.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
3636

3737
actionlint:
3838
name: Actionlint

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
- id: detect-private-key
3131

3232
- repo: https://github.com/golangci/golangci-lint
33-
rev: v1.60.3
33+
rev: v1.61.0
3434
hooks:
3535
- id: golangci-lint-full
3636

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.DEFAULT_GOAL := build-goreleaser
22
# renovate: datasource=docker depName=golangci/golangci-lint
3-
GOLANGCI_LINT_VERSION = v1.60.3
3+
GOLANGCI_LINT_VERSION = v1.61.0
44
# renovate: datasource=docker depName=goreleaser/goreleaser
55
GORELEASER_VERSION = v2.2.0
66
# renovate: datasource=go depName=google/go-licenses

cmd/sync/aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func (client *AWSClient) getInstancesInService(insIDtoIP map[string]string) ([]s
198198
keys := reflect.ValueOf(insIDtoIP).MapKeys()
199199
instanceIDs := make([]string, len(keys))
200200

201-
for i := range len(keys) {
201+
for i := range keys {
202202
instanceIDs[i] = keys[i].String()
203203
}
204204

0 commit comments

Comments
 (0)