cgo libvirt migrate to pure go libvirt #112
Annotations
9 errors and 1 warning
Run golangci/golangci-lint-action@v3:
cmd/maint/fasten.go#L1
: # github.com/projecteru2/yavirt/cmd/maint
|
Run golangci/golangci-lint-action@v3:
cmd/maint/fasten.go#L177
info.NrVirtCpu undefined (type *"github.com/projecteru2/yavirt/third_party/libvirt".DomainGetInfoRet has no field or method NrVirtCpu) (typecheck)
|
Run golangci/golangci-lint-action@v3:
cmd/cmd.go#L11
could not import github.com/projecteru2/yavirt/cmd/maint (-: # github.com/projecteru2/yavirt/cmd/maint
|
Run golangci/golangci-lint-action@v3:
cmd/maint/fasten.go#L177
info.NrVirtCpu undefined (type *"github.com/projecteru2/yavirt/third_party/libvirt".DomainGetInfoRet has no field or method NrVirtCpu)) (typecheck)
|
Run golangci/golangci-lint-action@v3:
pkg/libvirt/console.go#L164
cognitive complexity 31 of func `(*Console).AddReadWriter` is high (> 30) (gocognit)
|
Run golangci/golangci-lint-action@v3:
pkg/libvirt/domain.go#L265
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci/golangci-lint-action@v3:
pkg/libvirt/console.go#L30
func `(*ConsoleFlags).genStreamFlags` is unused (unused)
|
Run golangci/golangci-lint-action@v3:
pkg/libvirt/domain.go#L211
printf: github.com/projecteru2/yavirt/pkg/log.Errorf call has arguments but no formatting directives (govet)
|
Run golangci/golangci-lint-action@v3
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading