Skip to content

Commit 6cff508

Browse files
Update dependency golangci/golangci-lint to v2.11.3 (#526)
* Update dependency golangci/golangci-lint to v2.11.3 * Fix golangci-lint prealloc warning --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Khaja Omer <komer@akamai.com>
1 parent c733270 commit 6cff508

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CAAPH_VERSION ?= "v0.2.1"
3535
CAPL_VERSION ?= "v0.8.5"
3636

3737
# renovate: datasource=github-tags depName=golangci/golangci-lint
38-
GOLANGCI_LINT_VERSION ?= "v2.7.2"
38+
GOLANGCI_LINT_VERSION ?= "v2.11.3"
3939

4040
CONTROLPLANE_NODES ?= 1
4141
WORKER_NODES ?= 1

cloud/linode/fake_linode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ func (f *fakeAPI) setupRoutes() {
552552
f.t.Fatal(err)
553553
}
554554

555-
subnets := []linodego.VPCSubnet{}
555+
subnets := make([]linodego.VPCSubnet, 0, len(vco.Subnets))
556556
for _, s := range vco.Subnets {
557557
subnet := linodego.VPCSubnet{
558558
ID: rand.Intn(9999),

0 commit comments

Comments
 (0)