Skip to content

fix: fix 熔断器 panic (#193) #261

fix: fix 熔断器 panic (#193)

fix: fix 熔断器 panic (#193) #261

Triggered via push December 19, 2023 08:43
Status Success
Total duration 1m 1s
Artifacts

revive.yml

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

Annotations

60 warnings
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/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/loadbalancer/common/half_open.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): plugin/location/local/local.go#L35
exported function New should have comment or be unexported
Run Revive Action (1.19.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/model/pb/metric/code.go#L28
exported const ExecuteSuccess should have comment (or a comment on this block) or be unexported
Run Revive Action (1.19.x): plugin/location/local/local.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/location/remotehttp/remotehttp.go#L33
exported function New should have comment or be unexported
Run Revive Action (1.19.x): plugin/location/remoteservice/remoteservice.go#L35
exported function New 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): api.go#L134
exported type GetConfigFileRequest should have comment or be unexported
Run Revive Action (1.17.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.17.x): benchmark/benchsimple/main.go#L71
var maxQps should be maxQPS
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/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/group/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/configuration/normal/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/longpull/main.go#L88
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.15.x): api_config.go#L116
comment on exported function NewConfigGroupAPIByConfig should be of the form "NewConfigGroupAPIByConfig ..."
Run Revive Action (1.16.x): pkg/plugin/weightadjuster/proxy.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): plugin/loadbalancer/common/half_open.go#L18
should have a package comment
Run Revive Action (1.16.x): plugin/loadbalancer/hash/config.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/flow/registerstate/register_flow.go#L71
exported method PutRegister returns unexported type *registerstate.registerState, which can be annoying to use
Run Revive Action (1.16.x): plugin/loadbalancer/maglev/config.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/flow/startup/server_service.go#L56
parameter 'taskKey' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): pkg/flow/schedule/event.go#L18
should have a package comment
Run Revive Action (1.16.x): pkg/model/pb/metric/code.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/service/notify/main.go#L44
exported type TestListener should have comment or be unexported
Run Revive Action (1.20.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/instance/notify/main.go#L76
exported type TestListener should have comment or be unexported
Run Revive Action (1.20.x): benchmark/benchsimple/main.go#L89
comment on exported type Durations should be of the form "Durations ..." (with optional leading article)
Run Revive Action (1.20.x): api.go#L134
exported type GetConfigFileRequest should have comment or be unexported
Run Revive Action (1.20.x): examples/configuration/crud/main.go#L18
should have a package comment