Skip to content

fix:修复路由匹配失败默认转为返回全部实例 #19

fix:修复路由匹配失败默认转为返回全部实例

fix:修复路由匹配失败默认转为返回全部实例 #19

Triggered via push August 26, 2024 03:59
Status Failure
Total duration 3m 19s
Artifacts
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

63 errors and 9 warnings
golangci-lint (1.19.x): 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 (1.19.x): 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 (1.19.x): 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 (1.19.x): pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
golangci-lint (1.19.x): pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
golangci-lint (1.19.x): pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
golangci-lint (1.19.x): 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 (1.19.x): 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 (1.19.x): 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 (1.19.x): plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.16.x): 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 (1.16.x): 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 (1.16.x): 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 (1.16.x): pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
golangci-lint (1.16.x): pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
golangci-lint (1.16.x): pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
golangci-lint (1.16.x): 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 (1.16.x): 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 (1.16.x): 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 (1.16.x): plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.18.x): 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 (1.18.x): 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 (1.18.x): 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 (1.18.x): pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
golangci-lint (1.18.x): pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
golangci-lint (1.18.x): pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
golangci-lint (1.18.x): 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 (1.18.x): 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 (1.18.x): 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 (1.18.x): plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.15.x)
The job was canceled because "_1_19_x" failed.
golangci-lint (1.15.x): 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 (1.15.x): 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 (1.15.x): 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 (1.15.x): pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
golangci-lint (1.15.x): pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
golangci-lint (1.15.x): pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
golangci-lint (1.15.x): 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 (1.15.x): 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 (1.15.x): 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 (1.15.x): plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.20.x)
The job was canceled because "_1_19_x" failed.
golangci-lint (1.20.x): 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 (1.20.x): 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 (1.20.x): 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 (1.20.x): pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
golangci-lint (1.20.x): pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
golangci-lint (1.20.x): pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
golangci-lint (1.20.x): 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 (1.20.x): 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 (1.20.x): 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 (1.20.x): plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.17.x)
The job was canceled because "_1_19_x" failed.
golangci-lint (1.17.x): 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 (1.17.x): 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 (1.17.x): 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 (1.17.x): pkg/flow/configuration/flow.go#L33
unnecessary leading newline (whitespace)
golangci-lint (1.17.x): pkg/flow/configuration/group_flow.go#L43
unnecessary leading newline (whitespace)
golangci-lint (1.17.x): pkg/flow/configuration/group_repo.go#L50
unnecessary leading newline (whitespace)
golangci-lint (1.17.x): 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 (1.17.x): 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 (1.17.x): 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 (1.17.x): plugin/serverconnector/grpc/operation_sync.go#L217
printf: non-constant format string in call to github.com/polarismesh/polaris-go/pkg/model.NewSDKErrorWithServerInfo (govet)
golangci-lint (1.19.x)
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 (1.19.x): 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)
golangci-lint (1.16.x)
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 (1.16.x): 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)
golangci-lint (1.18.x)
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 (1.18.x): 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)
golangci-lint (1.15.x): 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)
golangci-lint (1.20.x): 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)
golangci-lint (1.17.x): 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)