checker: unify checker name and checker type #21149
Annotations
10 errors
statics:
pkg/schedule/coordinator.go#L32
duplicated-imports: Package "github.com/tikv/pd/pkg/schedule/config" already imported (revive)
|
statics:
pkg/schedule/schedulers/diagnostic_recorder.go#L24
duplicated-imports: Package "github.com/tikv/pd/pkg/schedule/config" already imported (revive)
|
statics:
pkg/schedule/schedulers/label.go#L59
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
statics:
pkg/schedule/schedulers/hot_region.go#L248
unused-receiver: method receiver 'h' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
statics:
server/cluster/scheduling_controller.go#L29
duplicated-imports: Package "github.com/tikv/pd/pkg/schedule/config" already imported (revive)
|
statics:
plugin/scheduler_example/evict_leader.go#L42
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
statics:
pkg/schedule/coordinator.go#L31
ST1019: package "github.com/tikv/pd/pkg/schedule/config" is being imported more than once (stylecheck)
|
statics:
pkg/schedule/schedulers/diagnostic_recorder.go#L23
ST1019: package "github.com/tikv/pd/pkg/schedule/config" is being imported more than once (stylecheck)
|
statics:
server/cluster/scheduling_controller.go#L28
ST1019: package "github.com/tikv/pd/pkg/schedule/config" is being imported more than once (stylecheck)
|
statics
Process completed with exit code 2.
|