fix nerdctl ps slow on heavy IO system by using goroutine #427
lint.yml
on: pull_request
yaml | shell | imports order
16s
Matrix: go
Annotations
19 errors
go | linux | go-canary:
pkg/cmd/container/list.go#L174
Consider pre-allocating `errs` (prealloc)
|
go | linux | go-canary:
pkg/imgutil/filtering.go#L305
redefines-builtin-id: redefinition of the built-in function min (revive)
|
go | linux | go-canary:
pkg/imgutil/filtering.go#L309
redefines-builtin-id: redefinition of the built-in function max (revive)
|
go | linux | go-canary:
cmd/nerdctl/container/container_diff.go#L200
redefines-builtin-id: redefinition of the built-in function new (revive)
|
go | linux | go-canary:
pkg/cmd/container/list.go#L137
S1002: should omit comparison to bool constant, can be simplified to `!all` (gosimple)
|
go | linux | go-canary:
pkg/cmd/container/list.go#L138
S1002: should omit comparison to bool constant, can be simplified to `!strings.HasPrefix(cStatus, "Up")` (gosimple)
|
go | linux | go-canary
issues found
|
go | windows |
The job was canceled because "ubuntu-24_04_linux_go-can" failed.
|
go | windows |:
pkg/cmd/container/list.go#L174
Consider pre-allocating `errs` (prealloc)
|
go | windows |:
pkg/imgutil/filtering.go#L305
redefines-builtin-id: redefinition of the built-in function min (revive)
|
go | windows |:
pkg/imgutil/filtering.go#L309
redefines-builtin-id: redefinition of the built-in function max (revive)
|
go | windows |:
cmd/nerdctl/container/container_diff.go#L200
redefines-builtin-id: redefinition of the built-in function new (revive)
|
go | windows |:
pkg/cmd/container/list.go#L137
S1002: should omit comparison to bool constant, can be simplified to `!all` (gosimple)
|
go | windows |:
pkg/cmd/container/list.go#L138
S1002: should omit comparison to bool constant, can be simplified to `!strings.HasPrefix(cStatus, "Up")` (gosimple)
|
go | windows |
issues found
|
go | freebsd |
The job was canceled because "ubuntu-24_04_linux_go-can" failed.
|
go | freebsd |
The operation was canceled.
|
go | linux |
The job was canceled because "ubuntu-24_04_linux_go-can" failed.
|
go | linux |
The operation was canceled.
|