Skip to content

CDI implementation #404

CDI implementation

CDI implementation #404

Triggered via pull request September 8, 2023 11:36
@e0nee0ne
synchronize #489
e0ne:cdi
Status Failure
Total duration 2m 7s
Artifacts

build-test-lint.yml

on: pull_request
Matrix: build
test
0s
test
test-coverage
0s
test-coverage
Fit to window
Zoom out
Zoom in

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.