From 62c81b3e9b4915db5ccb0852ef7f0f855b682d9f Mon Sep 17 00:00:00 2001 From: tomsweeneyredhat Date: Thu, 27 Jun 2024 14:49:16 -0400 Subject: [PATCH] [release-1.51] Bump lint and address lint issue Bump lint in the test area to 1.55.2 and then address an append that's causing lint heartache. Signed-off-by: tomsweeneyredhat --- drivers/aufs/aufs_test.go | 2 +- tests/tools/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/aufs/aufs_test.go b/drivers/aufs/aufs_test.go index d57505e027..79cd372958 100644 --- a/drivers/aufs/aufs_test.go +++ b/drivers/aufs/aufs_test.go @@ -744,7 +744,7 @@ func BenchmarkConcurrentAccess(b *testing.B) { } parent := ids[1] - ids = append(ids[2:]) + ids = ids[2:] chErr := make(chan error, numConcurrent) var outerGroup sync.WaitGroup diff --git a/tests/tools/Makefile b/tests/tools/Makefile index 9cc9eedfcc..66c6d17e4b 100644 --- a/tests/tools/Makefile +++ b/tests/tools/Makefile @@ -29,6 +29,6 @@ $(BUILDDIR)/git-validation: $(BUILDDIR)/go-md2man: $(call go-build,./vendor/github.com/cpuguy83/go-md2man) -$(BUILDDIR)/golangci-lint: VERSION=v1.51.2 +$(BUILDDIR)/golangci-lint: VERSION=v1.55.2 $(BUILDDIR)/golangci-lint: curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/$(VERSION)/install.sh | sh -s -- -b ./$(BUILDDIR) $(VERSION)