Merge pull request #2964 from lucas-clemente/update-golangci-lint

update golangci-lint to v1.34.1
This commit is contained in:
Marten Seemann
2021-01-02 09:49:15 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -18,4 +18,4 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.31
version: v1.34.1

View File

@@ -640,7 +640,7 @@ func (p *packetPacker) MaybePackProbePacket(encLevel protocol.EncryptionLevel) (
var hdr *wire.ExtendedHeader
var payload *payload
var sealer sealer
//nolint:exhaustive Probe packets are never sent for 0-RTT.
//nolint:exhaustive // Probe packets are never sent for 0-RTT.
switch encLevel {
case protocol.EncryptionInitial:
var err error