Merge pull request #3411 from mxpv/linter
Switch from gometalinter to golangci-lint
This commit is contained in:
@@ -47,7 +47,7 @@ var Command = cli.Command{
|
||||
var e *events.Envelope
|
||||
select {
|
||||
case e = <-eventsCh:
|
||||
case err, open = <-errCh:
|
||||
case err = <-errCh:
|
||||
return err
|
||||
}
|
||||
if e != nil {
|
||||
|
@@ -27,7 +27,7 @@ import (
|
||||
"github.com/containerd/containerd/api/types"
|
||||
"github.com/containerd/containerd/cmd/ctr/commands"
|
||||
"github.com/containerd/containerd/platforms"
|
||||
"github.com/opencontainers/image-spec/specs-go/v1"
|
||||
v1 "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
"github.com/urfave/cli"
|
||||
"google.golang.org/grpc/codes"
|
||||
)
|
||||
|
Reference in New Issue
Block a user