support a loadbalancer controller framework #4053
Annotations
10 errors and 1 warning
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/driver/mock/mock.go#L11
could not import github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver (-: import cycle not allowed: import stack: [github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver/mock github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver]) (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/driver/driver.go#L1
: import cycle not allowed: import stack: [github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver/mock github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver] (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/event_handler.go#L16
could not import github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver (-: import cycle not allowed: import stack: [github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver/mock github.com/openyurtio/openyurt/pkg/yurtmanager/controller/loadbalancer/driver]) (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L172
undefined: reqCtx (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L173
undefined: reqCtx (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L177
undefined: reqCtx (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L168
err declared and not used (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L209
assignment mismatch: 3 variables but classifyLoadBalancer returns 1 value (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L211
undefined: lbs (typecheck)
|
Lint golang code:
pkg/yurtmanager/controller/loadbalancer/loadbalancer_controller.go#L219
err declared and not used (typecheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading