mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-04 20:03:18 +02:00
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:
parent
ebae91f408
commit
60b9f3d92d
7 changed files with 22 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue