Merge pull request #4098 from thaJeztah/update_golangci_lint

Update Golangci-lint v1.23.8
This commit is contained in:
Michael Crosby
2020-03-10 12:38:44 -04:00
committed by GitHub
3 changed files with 2 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ linters:
- errcheck
run:
deadline: 2m
timeout: 2m
skip-dirs:
- api
- design

View File

@@ -49,8 +49,6 @@ var (
allocConsole = kernel32.NewProc("AllocConsole")
oldStderr windows.Handle
panicFile *os.File
service *handler
)
const defaultServiceName = "containerd"
@@ -282,7 +280,6 @@ func launchService(s *server.Server, done chan struct{}) error {
return err
}
service = h
go func() {
if interactive {
err = debug.Run(serviceNameFlag, h)

View File

@@ -26,6 +26,6 @@ go get -u github.com/cpuguy83/go-md2man
(
cd "$GOPATH"/src/github.com/golangci/golangci-lint/cmd/golangci-lint
git checkout v1.18.0
git checkout v1.23.8
go build -v && go install
)