diff --git a/.golangci.yml b/.golangci.yml index e92ddd8..cb173b5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,9 +4,11 @@ run: build-tags: - integration modules-download-mode: readonly - go: '1.17' + go: '1.22' output: - format: tab:lint.txt + formats: + - format: tab + path: lint.txt print-issued-lines: false uniq-by-line: false sort-results: true diff --git a/simulator/internal/simulator/simulator.go b/simulator/internal/simulator/simulator.go index ca81717..cd1a1c6 100644 --- a/simulator/internal/simulator/simulator.go +++ b/simulator/internal/simulator/simulator.go @@ -71,7 +71,6 @@ func (s Simulator) Simulate() error { } for _, p := range policies { - p := p capacity := capacity eg.Go(func() error { return s.simulatePolicy(p, capacity)