Skip to content

Remove interface name from alt name if exist #342

Remove interface name from alt name if exist

Remove interface name from alt name if exist #342

Triggered via pull request February 22, 2024 16:04
Status Failure
Total duration 59s
Artifacts

static-scan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Lint: cmd/sriov/main.go#L18
could not import github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils (-: # github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils
Lint: pkg/utils/netlink_manager.go#L95
undefined: netlink.LinkDelAltName
Lint: pkg/config/config.go#L12
could not import github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils (-: # github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils
Lint: pkg/utils/netlink_manager.go#L95
undefined: netlink.LinkDelAltName
Lint: pkg/sriov/sriov.go#L10
could not import github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils (-: # github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils
Lint: pkg/utils/netlink_manager.go#L95
undefined: netlink.LinkDelAltName
Lint: pkg/utils/netlink_manager.go#L95
undefined: netlink.LinkDelAltName
Lint: pkg/utils/utils_test.go#L116
cannot use mocked (variable of type *mocks.NetlinkManager) as NetlinkManager value in argument to SetVFEffectiveMAC: *mocks.NetlinkManager does not implement NetlinkManager (missing method LinkDelAltName)
Lint: pkg/utils/utils_test.go#L137
cannot use mocked (variable of type *mocks.NetlinkManager) as NetlinkManager value in argument to SetVFEffectiveMAC: *mocks.NetlinkManager does not implement NetlinkManager (missing method LinkDelAltName)
Lint: pkg/utils/utils_test.go#L160
cannot use mocked (variable of type *mocks.NetlinkManager) as NetlinkManager value in argument to SetVFHardwareMAC: *mocks.NetlinkManager does not implement NetlinkManager (missing method LinkDelAltName)
Shellcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Hadolint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/sriov-cni/sriov-cni. Supported file pattern: go.sum