Skip to content

fix:修复路由规则针对老SDK的不兼容下发问题 (#1362) #1515

fix:修复路由规则针对老SDK的不兼容下发问题 (#1362)

fix:修复路由规则针对老SDK的不兼容下发问题 (#1362) #1515

Triggered via push July 1, 2024 04:54
Status Failure
Total duration 1m 16s
Artifacts
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci-lint (1.21.5): cache/service/service_contract.go#L119
Error return value of `sc.upsertValueCache` is not checked (errcheck)
golangci-lint (1.21.5): cache/service/service_contract.go#L123
Error return value of `sc.upsertValueCache` is not checked (errcheck)
golangci-lint (1.21.5): auth/policy/server.go#L96
Error return value of `svr.checker.Initialize` is not checked (errcheck)
golangci-lint (1.21.5): apiserver/nacosserver/v1/config/access.go#L145
Error return value of `handler.ProcessZip` is not checked (errcheck)
golangci-lint (1.21.5): apiserver/nacosserver/v1/endpoints.go#L72
Error return value of `rsp.Write` is not checked (errcheck)
golangci-lint (1.21.5): cache/config/config_file.go#L69
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): cache/config/config_group.go#L50
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): service/server.go#L51
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): service/interceptor/paramcheck/circuit_breaker.go#L24
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5): service/interceptor/paramcheck/circuit_breaker.go#L29
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/polarismesh/polaris) --custom-order (gci)
golangci-lint (1.21.5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3.6.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (1.21.5): apiserver/nacosserver/v1/discover/instance.go#L80
import-shadowing: The name 'service' shadows an import name (revive)
golangci-lint (1.21.5): apiserver/nacosserver/v1/discover/instance.go#L93
import-shadowing: The name 'service' shadows an import name (revive)
golangci-lint (1.21.5): apiserver/nacosserver/v1/discover/instance.go#L139
import-shadowing: The name 'service' shadows an import name (revive)