chore(deps): bump github.com/golangci/golangci-lint from 1.47.3 to 1.48.0 (#3541)

* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.47.3 to 1.48.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.47.3...v1.48.0)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* fix linting issues

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
dependabot[bot] 2022-08-09 08:25:57 -06:00 committed by GitHub
parent ebae91f408
commit 60b9f3d92d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 19 deletions

View file

@ -112,7 +112,7 @@ func (h *Handler) Middleware(next http.Handler) http.Handler {
return httputil.NewError(http.StatusNotFound, errors.New("policy destination not found"))
}
// regular rand is fine for this
dst := dsts[rand.Intn(len(dsts))] // nolint:gosec
dst := dsts[rand.Intn(len(dsts))] //nolint:gosec
// when SPDY is being used, disable HTTP/2 because the two can't be used together with the reverse proxy
// Issue #2126