CDI implementation #404
build-test-lint.yml
on: pull_request
Matrix: build
Golangci-lint
1m 58s
Shellcheck
9s
Hadolint
11s
go-check
25s
Annotations
12 errors and 1 warning
build (1.20.x, amd64, ubuntu-latest)
syntax error: unexpected ) at end of statement
|
build (1.20.x, amd64, ubuntu-latest)
Process completed with exit code 2.
|
Golangci-lint:
pkg/cdi/cdi.go#L1
: # github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/cdi
|
Golangci-lint:
pkg/cdi/cdi.go#L75
syntax error: unexpected ) at end of statement (typecheck)
|
Golangci-lint:
pkg/cdi/cdi.go#L75
expected statement, found ')' (typecheck)
|
Golangci-lint:
pkg/accelerator/accelResourcePool.go#L34
cannot use &accelResourcePool{} (value of type *accelResourcePool) as "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool value in variable declaration: *accelResourcePool does not implement "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool (missing method CleanDeviceInfoFile) (typecheck)
|
Golangci-lint:
pkg/accelerator/accelResourcePool.go#L39
cannot use &accelResourcePool{…} (value of type *accelResourcePool) as "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool value in return statement: *accelResourcePool does not implement "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool (missing method CleanDeviceInfoFile) (typecheck)
|
Golangci-lint:
pkg/accelerator/accelResourcePool.go#L49
rp.GetDevicePool undefined (type *accelResourcePool has no field or method GetDevicePool) (typecheck)
|
Golangci-lint:
pkg/accelerator/accelResourcePool.go#L56
rp.DeviceSpecExist undefined (type *accelResourcePool has no field or method DeviceSpecExist) (typecheck)
|
Golangci-lint:
pkg/auxnetdevice/auxNetResourcePool.go#L36
cannot use &auxNetResourcePool{} (value of type *auxNetResourcePool) as "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool value in variable declaration: *auxNetResourcePool does not implement "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool (missing method CleanDeviceInfoFile) (typecheck)
|
Golangci-lint:
pkg/auxnetdevice/auxNetResourcePool.go#L41
cannot use &auxNetResourcePool{…} (value of type *auxNetResourcePool) as "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool value in return statement: *auxNetResourcePool does not implement "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types".ResourcePool (missing method CleanDeviceInfoFile) (typecheck)
|
Golangci-lint:
pkg/auxnetdevice/auxNetResourcePool.go#L51
ap.GetDevicePool undefined (type *auxNetResourcePool has no field or method GetDevicePool) (typecheck)
|
Shellcheck
Input 'ignore' has been deprecated with message: Use ignore_paths or ignore_names instead.
|