[#209] Makefile: Update golangci-lint to 1.56.2

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-03-14 12:27:43 +03:00
parent 7212f38115
commit 64b83f8220
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
ANTLR_VERSION="4.13.0" ANTLR_VERSION="4.13.0"
TMP_DIR := .cache TMP_DIR := .cache
LINT_VERSION ?= 1.55.0 LINT_VERSION ?= 1.56.2
TRUECLOUDLAB_LINT_VERSION ?= 0.0.2 TRUECLOUDLAB_LINT_VERSION ?= 0.0.2
OUTPUT_LINT_DIR ?= $(shell pwd)/bin OUTPUT_LINT_DIR ?= $(shell pwd)/bin
LINT_DIR = $(OUTPUT_LINT_DIR)/golangci-lint-$(LINT_VERSION)-v$(TRUECLOUDLAB_LINT_VERSION) LINT_DIR = $(OUTPUT_LINT_DIR)/golangci-lint-$(LINT_VERSION)-v$(TRUECLOUDLAB_LINT_VERSION)

View file

@ -2049,7 +2049,7 @@ func (p *Pool) updateNodesHealth(ctx context.Context, buffers [][]float64) {
wg.Add(1) wg.Add(1)
bufferWeights := buffers[i] bufferWeights := buffers[i]
go func(i int, innerPool *innerPool) { go func(i int, _ *innerPool) {
defer wg.Done() defer wg.Done()
p.updateInnerNodesHealth(ctx, i, bufferWeights) p.updateInnerNodesHealth(ctx, i, bufferWeights)
}(i, inner) }(i, inner)

View file

@ -677,7 +677,7 @@ func (p *Pool) updateNodesHealth(ctx context.Context, buffers [][]bool) {
for i, inner := range p.innerPools { for i, inner := range p.innerPools {
wg.Add(1) wg.Add(1)
go func(i int, innerPool *innerPool) { go func(i int, _ *innerPool) {
defer wg.Done() defer wg.Done()
p.updateInnerNodesHealth(ctx, i, buffers[i]) p.updateInnerNodesHealth(ctx, i, buffers[i])
}(i, inner) }(i, inner)