Skip to content

fix: 修改polaris_server.sql中的语法错误 #1518

fix: 修改polaris_server.sql中的语法错误

fix: 修改polaris_server.sql中的语法错误 #1518

Re-run triggered August 21, 2024 08:31
Status Failure
Total duration 3m 35s
Artifacts

golangci-lint.yml

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

Annotations

10 errors and 5 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#L107
Error return value of `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): common/model/auth/container.go#L21
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): common/model/auth/container.go#L22
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): store/boltdb/role.go#L23
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): store/boltdb/role.go#L28
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): store/mysql/role.go#L23
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)
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/golangci-lint-action@v3.6.0. 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.21.5): cache/api/types.go#L18
max-public-structs: you have exceeded the maximum number of public struct declarations (revive)
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)