Skip to content

cgo libvirt migrate to pure go libvirt #112

cgo libvirt migrate to pure go libvirt

cgo libvirt migrate to pure go libvirt #112

Re-run triggered October 25, 2023 15:52
Status Failure
Total duration 4m 58s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: cmd/maint/fasten.go#L1
: # github.com/projecteru2/yavirt/cmd/maint
lint: cmd/maint/fasten.go#L177
info.NrVirtCpu undefined (type *"github.com/projecteru2/yavirt/third_party/libvirt".DomainGetInfoRet has no field or method NrVirtCpu) (typecheck)
lint: cmd/cmd.go#L11
could not import github.com/projecteru2/yavirt/cmd/maint (-: # github.com/projecteru2/yavirt/cmd/maint
lint: cmd/maint/fasten.go#L177
info.NrVirtCpu undefined (type *"github.com/projecteru2/yavirt/third_party/libvirt".DomainGetInfoRet has no field or method NrVirtCpu)) (typecheck)
lint: pkg/libvirt/console.go#L164
cognitive complexity 31 of func `(*Console).AddReadWriter` is high (> 30) (gocognit)
lint: pkg/libvirt/domain.go#L265
commentFormatting: put a space between `//` and comment text (gocritic)
lint: pkg/libvirt/console.go#L30
func `(*ConsoleFlags).genStreamFlags` is unused (unused)
lint: pkg/libvirt/domain.go#L211
printf: github.com/projecteru2/yavirt/pkg/log.Errorf call has arguments but no formatting directives (govet)
lint
issues found
lint
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/.