Skip to content

fix: config log typo #381

fix: config log typo

fix: config log typo #381

Triggered via push January 4, 2026 03:32
Status Success
Total duration 2m 36s
Artifacts

revive.yml

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

Annotations

40 warnings
Run Revive Action (1.20.x): pkg/clock/clock.go#L77
exported function CurrentMillis should have comment or be unexported
Run Revive Action (1.20.x): pkg/plugin/loadbalancer/util.go#L25
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): pkg/plugin/manage.go#L500
parameter 'cfg' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/circuitbreaker/service/consumer/main.go#L111
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): plugin/loadbalancer/hash/config.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/route/metadata/consumer/main.go#L89
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.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.20.x): pkg/model/pb/metric/code.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/model/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/activehealthcheck/main.go#L129
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): api.go#L168
exported type CircuitBreakerAPI should have comment or be unexported
Run Revive Action (1.19.x): api.go#L135
exported type GetConfigGroupRequest should have comment or be unexported
Run Revive Action (1.19.x): api_config.go#L143
comment on exported function NewConfigGroupAPIByContext should be of the form "NewConfigGroupAPIByContext ..."
Run Revive Action (1.19.x): api.go#L134
exported type GetConfigFileRequest should have comment or be unexported
Run Revive Action (1.19.x): api_config.go#L132
comment on exported function NewConfigGroupAPIByFile should be of the form "NewConfigGroupAPIByFile ..."
Run Revive Action (1.19.x): api_config.go#L121
comment on exported function NewConfigGroupAPIByConfig should be of the form "NewConfigGroupAPIByConfig ..."
Run Revive Action (1.19.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/group/main.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.22.x): plugin/circuitbreaker/composite/trigger/counter.go#L30
comment on exported type StatusChangeHandler should be of the form "StatusChangeHandler ..." (with optional leading article)
Run Revive Action (1.22.x): plugin/circuitbreaker/composite/trigger/consecutive.go#L24
exported type ConsecutiveCounter should have comment or be unexported
Run Revive Action (1.22.x): plugin/circuitbreaker/composite/trigger/err_rate.go#L53
exported type ErrRateCounter should have comment or be unexported
Run Revive Action (1.22.x): pkg/stat/plugin/plug.go#L29
type name will be used as plugin.PluginAPI by other packages, and that stutters; consider calling this API
Run Revive Action (1.22.x): pkg/stat/loadbalance/lb.go#L27
type name will be used as loadbalance.LoadBalanceGauge by other packages, and that stutters; consider calling this Gauge
Run Revive Action (1.22.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/plugin/ratelimiter/model.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/plugin/location/location.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/plugin/location/proxy.go#L26
exported type Proxy should have comment or be unexported
Run Revive Action (1.21.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.21.x): pkg/model/pb/metric/v2/code.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/route/metadata/provider/main.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/watchinstance/main.go#L18
should have a package comment
Run Revive Action (1.21.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/watch/service/notify/main.go#L18
should have a package comment