Remove interface name from alt name if exist #344
Annotations
10 errors and 4 warnings
Lint:
pkg/sriov/sriov_test.go#L75
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L118
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L162
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L202
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L235
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L274
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L301
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName)
|
Lint:
pkg/sriov/sriov_test.go#L359
cannot use mocked (variable of type *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager) as "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager value in struct literal: *"github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils/mocks".NetlinkManager does not implement "github.com/k8snetworkplumbingwg/sriov-cni/pkg/utils".NetlinkManager (missing method LinkDelAltName) (typecheck)
|
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)
|
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
|