Skip to content

feat:support watch config_group #238

feat:support watch config_group

feat:support watch config_group #238

Triggered via pull request November 4, 2023 00:56
Status Failure
Total duration 1m 43s
Artifacts

golangci-lint.yml

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

Annotations

34 errors and 4 warnings
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)
golangci-lint exit with code 2
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)
golangci-lint exit with code 2
golangci-lint (1.16.x)
The job was canceled because "_1_20_x" failed.
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)
golangci-lint exit with code 2
golangci-lint (1.17.x)
The job was canceled because "_1_20_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)
golangci-lint exit with code 2
golangci-lint (1.15.x)
The job was canceled because "_1_20_x" failed.
golangci-lint (1.15.x)
The operation was canceled.
golangci-lint (1.19.x)
The job was canceled because "_1_20_x" failed.
golangci-lint (1.19.x)
The operation was canceled.
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.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.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.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)