Skip to content

ovn-ic-ecmp refactor #8366

ovn-ic-ecmp refactor

ovn-ic-ecmp refactor #8366

Triggered via pull request January 17, 2024 10:45
Status Failure
Total duration 5m 31s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 8 warnings
lint: pkg/controller/client_go_adapter.go#L1
: # github.com/kubeovn/kube-ovn/pkg/controller [github.com/kubeovn/kube-ovn/pkg/controller.test]
lint: pkg/controller/ovn_ic_test.go#L37
ctrl.listRemoteLogicalSwitchPortAddress undefined (type *Controller has no field or method listRemoteLogicalSwitchPortAddress) (typecheck)
lint: pkg/ovn_ic_controller/ovn_ic_controller.go#L55
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: pkg/ovn_ic_controller/ovn_ic_controller.go#L664
assignOp: replace `order = order % len(arr)` with `order %= len(arr)` (gocritic)
lint: pkg/ovn_leader_checker/ovn.go#L453
printf: k8s.io/klog/v2.Info call has possible Printf formatting directive %d (govet)
lint: test/e2e/ovn-ic/e2e_test.go#L1
: # github.com/kubeovn/kube-ovn/test/e2e/ovn-ic [github.com/kubeovn/kube-ovn/test/e2e/ovn-ic.test]
lint: test/e2e/ovn-ic/e2e_test.go#L10
"os" imported and not used
lint: test/e2e/ovn-ic/e2e_test.go#L12
"path/filepath" imported and not used (typecheck)
lint
issues found
lint: pkg/ovn_ic_controller/config.go#L33
var-naming: struct field ClusterTcpLoadBalancer should be ClusterTCPLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L34
var-naming: struct field ClusterUdpLoadBalancer should be ClusterUDPLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L35
var-naming: struct field ClusterTcpSessionLoadBalancer should be ClusterTCPSessionLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L36
var-naming: struct field ClusterUdpSessionLoadBalancer should be ClusterUDPSessionLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L51
var-naming: var argClusterTcpLoadBalancer should be argClusterTCPLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L52
var-naming: var argClusterUdpLoadBalancer should be argClusterUDPLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L53
var-naming: var argClusterTcpSessionLoadBalancer should be argClusterTCPSessionLoadBalancer (revive)
lint: pkg/ovn_ic_controller/config.go#L54
var-naming: var argClusterUdpSessionLoadBalancer should be argClusterUDPSessionLoadBalancer (revive)