API definitions of alarm module #360
Annotations
10 errors and 1 warning
golangci-lint:
internal/dashboard/model/oceanbase/instance.go#L18
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
internal/dashboard/handler/alarm_handler.go#L16
File is not `goimports`-ed with -local github.com/oceanbase/ob-operator (goimports)
|
golangci-lint:
internal/dashboard/model/alarm/enums.go#L18
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint:
internal/dashboard/model/oceanbase/enums.go#L18
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint:
internal/dashboard/model/alarm/alert/enums.go#L18
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint:
internal/dashboard/model/alarm/receiver/enums.go#L20
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint:
internal/dashboard/model/alarm/rule/enums.go#L19
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint:
internal/dashboard/model/alarm/rule/enums.go#L26
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint:
internal/dashboard/model/alarm/rule/enums.go#L33
SA9004: only the first constant in this group has an explicit type (staticcheck)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading