Skip to content

[fix] plugin/circuitbreaker/composite/rule.go中rule.RuleMatcher.Destination.Method为nil的问题 #274

[fix] plugin/circuitbreaker/composite/rule.go中rule.RuleMatcher.Destination.Method为nil的问题

[fix] plugin/circuitbreaker/composite/rule.go中rule.RuleMatcher.Destination.Method为nil的问题 #274

Re-run triggered June 4, 2024 13:18
Status Failure
Total duration 1m 4s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

65 errors and 1 warning
golangci-lint (1.18.x): 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)
golangci-lint (1.18.x): 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)
golangci-lint (1.18.x): plugin/circuitbreaker/composite/task_pool.go#L22
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/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.18.x): pkg/flow/configuration/file_repo.go#L165
shadow: declaration of "err" shadows declaration at line 160 (govet)
golangci-lint (1.18.x): pkg/flow/configuration/group_repo.go#L86
shadow: declaration of "err" shadows declaration at line 82 (govet)
golangci-lint (1.18.x): plugin/configfilter/crypto/crypto.go#L130
shadow: declaration of "err" shadows declaration at line 103 (govet)
golangci-lint (1.18.x): plugin/healthcheck/tcp/tcp.go#L117
shadow: declaration of "err" shadows declaration at line 101 (govet)
golangci-lint (1.18.x): plugin/servicerouter/dstmeta/router.go#L80
shadow: declaration of "targetCluster" shadows declaration at line 70 (govet)
golangci-lint (1.18.x)
golangci-lint exit with code 2
golangci-lint (1.20.x)
The job was canceled because "_1_18_x" failed.
golangci-lint (1.20.x): 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)
golangci-lint (1.20.x): 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)
golangci-lint (1.20.x): plugin/circuitbreaker/composite/task_pool.go#L22
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/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.20.x): pkg/flow/configuration/file_repo.go#L165
shadow: declaration of "err" shadows declaration at line 160 (govet)
golangci-lint (1.20.x): pkg/flow/configuration/group_repo.go#L86
shadow: declaration of "err" shadows declaration at line 82 (govet)
golangci-lint (1.20.x): plugin/configfilter/crypto/crypto.go#L130
shadow: declaration of "err" shadows declaration at line 103 (govet)
golangci-lint (1.20.x): plugin/healthcheck/tcp/tcp.go#L117
shadow: declaration of "err" shadows declaration at line 101 (govet)
golangci-lint (1.20.x): plugin/servicerouter/dstmeta/router.go#L80
shadow: declaration of "targetCluster" shadows declaration at line 70 (govet)
golangci-lint (1.20.x)
golangci-lint exit with code 2
golangci-lint (1.17.x)
The job was canceled because "_1_18_x" failed.
golangci-lint (1.17.x): 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)
golangci-lint (1.17.x): 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)
golangci-lint (1.17.x): plugin/circuitbreaker/composite/task_pool.go#L22
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/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.17.x): pkg/flow/configuration/file_repo.go#L165
shadow: declaration of "err" shadows declaration at line 160 (govet)
golangci-lint (1.17.x): pkg/flow/configuration/group_repo.go#L86
shadow: declaration of "err" shadows declaration at line 82 (govet)
golangci-lint (1.17.x): plugin/configfilter/crypto/crypto.go#L130
shadow: declaration of "err" shadows declaration at line 103 (govet)
golangci-lint (1.17.x): plugin/healthcheck/tcp/tcp.go#L117
shadow: declaration of "err" shadows declaration at line 101 (govet)
golangci-lint (1.17.x): plugin/servicerouter/dstmeta/router.go#L80
shadow: declaration of "targetCluster" shadows declaration at line 70 (govet)
golangci-lint (1.17.x)
golangci-lint exit with code 2
golangci-lint (1.15.x)
The job was canceled because "_1_18_x" failed.
golangci-lint (1.15.x): 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)
golangci-lint (1.15.x): 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)
golangci-lint (1.15.x): plugin/circuitbreaker/composite/task_pool.go#L22
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/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.15.x): pkg/flow/configuration/file_repo.go#L165
shadow: declaration of "err" shadows declaration at line 160 (govet)
golangci-lint (1.15.x): pkg/flow/configuration/group_repo.go#L86
shadow: declaration of "err" shadows declaration at line 82 (govet)
golangci-lint (1.15.x): plugin/configfilter/crypto/crypto.go#L130
shadow: declaration of "err" shadows declaration at line 103 (govet)
golangci-lint (1.15.x): plugin/healthcheck/tcp/tcp.go#L117
shadow: declaration of "err" shadows declaration at line 101 (govet)
golangci-lint (1.15.x): plugin/servicerouter/dstmeta/router.go#L80
shadow: declaration of "targetCluster" shadows declaration at line 70 (govet)
golangci-lint (1.15.x)
golangci-lint exit with code 2
golangci-lint (1.16.x)
The job was canceled because "_1_18_x" failed.
golangci-lint (1.16.x): 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)
golangci-lint (1.16.x): 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)
golangci-lint (1.16.x): plugin/circuitbreaker/composite/task_pool.go#L22
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/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.16.x): pkg/flow/configuration/file_repo.go#L165
shadow: declaration of "err" shadows declaration at line 160 (govet)
golangci-lint (1.16.x): pkg/flow/configuration/group_repo.go#L86
shadow: declaration of "err" shadows declaration at line 82 (govet)
golangci-lint (1.16.x): plugin/configfilter/crypto/crypto.go#L130
shadow: declaration of "err" shadows declaration at line 103 (govet)
golangci-lint (1.16.x): plugin/healthcheck/tcp/tcp.go#L117
shadow: declaration of "err" shadows declaration at line 101 (govet)
golangci-lint (1.16.x): plugin/servicerouter/dstmeta/router.go#L80
shadow: declaration of "targetCluster" shadows declaration at line 70 (govet)
golangci-lint (1.16.x)
golangci-lint exit with code 2
golangci-lint (1.19.x)
The job was canceled because "_1_18_x" failed.
golangci-lint (1.19.x): 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)
golangci-lint (1.19.x): 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)
golangci-lint (1.19.x): plugin/circuitbreaker/composite/task_pool.go#L22
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/model/local/value.go#L100
sloppyTypeAssert: type assertion from/to types are identical (gocritic)
golangci-lint (1.19.x): pkg/flow/configuration/file_repo.go#L165
shadow: declaration of "err" shadows declaration at line 160 (govet)
golangci-lint (1.19.x): pkg/flow/configuration/group_repo.go#L86
shadow: declaration of "err" shadows declaration at line 82 (govet)
golangci-lint (1.19.x): plugin/configfilter/crypto/crypto.go#L130
shadow: declaration of "err" shadows declaration at line 103 (govet)
golangci-lint (1.19.x): plugin/healthcheck/tcp/tcp.go#L117
shadow: declaration of "err" shadows declaration at line 101 (govet)
golangci-lint (1.19.x): plugin/servicerouter/dstmeta/router.go#L80
shadow: declaration of "targetCluster" shadows declaration at line 70 (govet)
golangci-lint (1.19.x)
golangci-lint exit with code 2
golangci-lint (1.18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.