fix:修复路由匹配失败默认转为返回全部实例 #19
Annotations
10 errors and 2 warnings
golangci-lint:
pkg/plugin/configconnector/config_file.go#L26
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
|
golangci-lint:
pkg/plugin/configconnector/config_file.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
|
golangci-lint:
pkg/plugin/configconnector/config_file_response.go#L24
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris-go) --custom-order (gci)
|
golangci-lint:
pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
|
golangci-lint:
pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
|
golangci-lint:
pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
|
golangci-lint:
pkg/flow/data/util.go#L222
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
|
golangci-lint:
pkg/flow/configuration/config_flow.go#L156
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
|
golangci-lint:
pkg/flow/configuration/config_flow.go#L191
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKError (govet)
|
golangci-lint:
plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint:
plugin/ratelimiter/common/ratelimit_slice_window.go#L66
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Loading