Skip to content

feat:支持新版本的熔断规则设置 #240

feat:支持新版本的熔断规则设置

feat:支持新版本的熔断规则设置 #240

Triggered via pull request November 19, 2023 08:12
Status Success
Total duration 52s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

revive.yml

on: pull_request
Matrix: Run Revive Action
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
Run Revive Action (1.15.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.15.x): plugin/servicerouter/setdivision/base.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/plugin/configfilter/configfilter.go#L19
should have a package comment
Run Revive Action (1.16.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/loadbalancer/loadbalancer.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/loadbalancer/util.go#L25
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): pkg/plugin/ratelimiter/model.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/service/longpull/main.go#L52
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.18.x): examples/watch/service/notify/main.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/register/plugins.go#L18
should have a package comment
Run Revive Action (1.18.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/flow/startup/server_service.go#L56
parameter 'taskKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/flow/startup/client_report.go#L123
parameter 'taskKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/flow/startup/config_report.go#L46
parameter 'taskKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/plugin/servicerouter/util.go#L58
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/plugin/servicerouter/proxy.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/plugin/servicerouter/servicerouter.go#L75
parameter 'supplier' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/flow/startup/config_report.go#L46
parameter 'taskValue' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/flow/startup/server_service.go#L111
parameter 'event' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/plugin/servicerouter/util.go#L152
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/flow/registerstate/register_flow.go#L41
exported function NewRegisterStateManager should have comment or be unexported
Run Revive Action (1.17.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/watch/service/longpull/main.go#L52
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.17.x): plugin/loadbalancer/common/half_open.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/log/default.go#L23
exported const DefaultLogLevel should have comment (or a comment on this block) or be unexported
Run Revive Action (1.19.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/location/remotehttp/remotehttp.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/watch/service/notify/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/consumer/main.go#L18
should have a package comment