Skip to content

add acl log annotation #10418

add acl log annotation

add acl log annotation #10418

Triggered via pull request August 16, 2024 03:38
Status Failure
Total duration 5m 2s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: pkg/controller/config.go#L1
: # github.com/kubeovn/kube-ovn/pkg/controller [github.com/kubeovn/kube-ovn/pkg/controller.test]
lint: pkg/controller/controller_test.go#L61
cannot use mockOvnClient (variable of type *"github.com/kubeovn/kube-ovn/mocks/pkg/ovs".MockNbClient) as "github.com/kubeovn/kube-ovn/pkg/ovs".NbClient value in struct literal: *"github.com/kubeovn/kube-ovn/mocks/pkg/ovs".MockNbClient does not implement "github.com/kubeovn/kube-ovn/pkg/ovs".NbClient (wrong type for method UpdateEgressACLOps)
lint: pkg/ovs/adapter.go#L1
: # github.com/kubeovn/kube-ovn/pkg/ovs [github.com/kubeovn/kube-ovn/pkg/ovs.test]
lint: pkg/ovs/ovn-nb-acl_test.go#L93
not enough arguments in call to ovnClient.UpdateIngressACLOps
lint: pkg/ovs/ovn-nb-acl_test.go#L119
not enough arguments in call to ovnClient.UpdateIngressACLOps
lint: pkg/ovs/ovn-nb-acl_test.go#L163
not enough arguments in call to ovnClient.UpdateEgressACLOps
lint: pkg/ovs/ovn-nb-acl_test.go#L189
not enough arguments in call to ovnClient.UpdateEgressACLOps
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/