Skip to content

Commit

Permalink
Bump github.com/golangci/golangci-lint from 1.37.1 to 1.38.0 in /inte…
Browse files Browse the repository at this point in the history
…rnal/tools (#2622)

* Bump github.com/golangci/golangci-lint in /internal/tools

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.37.1...v1.38.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Temporary ignore fieldalignment

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
dependabot[bot] and bogdandrutu committed Mar 9, 2021
1 parent a3803f6 commit 3e5d49e
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 49 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ linters-settings:
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf

enable-all: true
# TODO: Enable this and fix the alignment issues.
disable:
- fieldalignment

golint:
# minimal confidence for issues, default is 0.8
Expand Down
3 changes: 1 addition & 2 deletions exporter/prometheusremotewriteexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,9 @@ func Test_Shutdown(t *testing.T) {
closeChan: make(chan struct{}),
}
wg := new(sync.WaitGroup)
errChan := make(chan error, 5)
err := prwe.Shutdown(context.Background())
require.NoError(t, err)
errChan = make(chan error, 5)
errChan := make(chan error, 5)
for i := 0; i < 5; i++ {
wg.Add(1)
go func() {
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/client9/misspell v0.3.4
github.com/golangci/golangci-lint v1.37.1
github.com/golangci/golangci-lint v1.38.0
github.com/google/addlicense v0.0.0-20200414192033-fb22319bcc1c
github.com/jstemmer/go-junit-report v0.9.1
github.com/mjibson/esc v0.2.0
Expand Down
Loading

0 comments on commit 3e5d49e

Please sign in to comment.