Skip to content

*: add disable to independent default scheduler config #21884

*: add disable to independent default scheduler config

*: add disable to independent default scheduler config #21884

Triggered via pull request August 14, 2024 09:52
Status Failure
Total duration 3m 28s
Artifacts

check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
statics: plugin/scheduler_example/evict_leader.go#L161
not enough arguments in call to schedulers.NewBaseScheduler
statics: plugin/scheduler_example/evict_leader.go#L163
cannot use &evictLeaderScheduler{…} (value of type *evictLeaderScheduler) as schedulers.Scheduler value in return statement: *evictLeaderScheduler does not implement schedulers.Scheduler (wrong type for method CleanConfig)
statics: pkg/schedule/schedulers/balance_leader.go#L557
Error return value of `l.conf.save` is not checked (errcheck)
statics: pkg/schedule/schedulers/balance_region.go#L289
Error return value of `s.conf.save` is not checked (errcheck)
statics: pkg/schedule/schedulers/config.go#L104
Error return value of `b.load` is not checked (errcheck)
statics: pkg/schedule/schedulers/evict_slow_store.go#L327
Error return value of `s.conf.save` is not checked (errcheck)
statics: pkg/schedule/schedulers/hot_region.go#L301
Error return value of `h.conf.save` is not checked (errcheck)
statics: pkg/schedule/schedulers/scheduler_controller.go#L181
Error return value of `(github.com/tikv/pd/pkg/schedule/schedulers.Scheduler).CleanConfig` is not checked (errcheck)
statics: pkg/schedule/schedulers/scheduler_controller.go#L233
Error return value of `s.CleanConfig` is not checked (errcheck)
statics: pkg/schedule/schedulers/scheduler_controller.go#L340
Error return value of `s.Scheduler.CleanConfig` is not checked (errcheck)