feat: 限流-CPU使用率自适应限流 #293
Annotations
11 errors and 1 warning
|
plugin/metrics/prometheus/reporter.go#L379
Error return value of `pa.pusher.Delete` is not checked (errcheck)
|
pkg/model/context.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
|
pkg/config/serverconnector.go#L168
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
|
plugin/ratelimiter/bbr/cpu/stat.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
|
pkg/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
|
plugin/ratelimiter/bbr/config.go#L1
file-header: the file doesn't have an appropriate header (revive)
|
pkg/flow/configuration/config_flow.go#L158
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
|
pkg/flow/configuration/config_flow.go#L193
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
|
pkg/flow/configuration/config_flow.go#L227
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
|
plugin/serverconnector/grpc/operation_sync.go#L223
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
|
plugin/ratelimiter/bbr/cpu/psutil_cpu.go#L32
import-shadowing: The name 'cpu' shadows an import name (revive)
|
This job was cancelled
Loading