Skip to content

config support gray #1339

config support gray

config support gray #1339

Triggered via pull request November 15, 2023 03:00
Status Failure
Total duration 34s
Artifacts

golangci-lint.yml

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

Annotations

10 errors and 10 warnings
golangci-lint (1.20): namespace/default.go#L61
Error return value of `cacheMgn.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): auth/defaultauth/strategy_authability.go#L51
Error return value of `cacheMgn.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): auth/defaultauth/user_authability.go#L51
Error return value of `cacheMgn.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): config/server.go#L138
Error return value of `cacheMgn.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): config/test_export.go#L39
Error return value of `cacheMgn.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): service/options.go#L98
Error return value of `c.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): service/options.go#L99
Error return value of `c.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): service/options.go#L101
Error return value of `c.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): service/test_export.go#L62
Error return value of `cacheMgr.OpenResourceCache` is not checked (errcheck)
golangci-lint (1.20): apiserver/nacosserver/core/storage.go#L223
Error return value of `eventhub.Publish` is not checked (errcheck)
golangci-lint (1.20): store/boltdb/circuitbreaker_rule.go#L354
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): store/boltdb/instance.go#L851
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): store/boltdb/ratelimit.go#L361
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): store/boltdb/routing.go#L376
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): store/boltdb/faultdetector.go#L287
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): store/boltdb/service.go#L956
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): store/boltdb/service.go#L991
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): config/config_file_release.go#L253
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
golangci-lint (1.20): apiserver/eurekaserver/applications.go#L396
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (1.20): apiserver/xdsserverv3/cache/linear.go#L95
import-shadowing: The name 'resource' shadows an import name (revive)