Skip to content

PMM-7 Fix linter config and some errors #4409

PMM-7 Fix linter config and some errors

PMM-7 Fix linter config and some errors #4409

Triggered via pull request September 26, 2023 17:02
Status Success
Total duration 13m 5s
Artifacts

main.yml

on: pull_request
Merge Gatekeeper
23s
Merge Gatekeeper
Slack Notification success
6s
Slack Notification success
Slack Notification failure
0s
Slack Notification failure
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Checks: managed/services/backup/backup_service.go#L610
Comment should end in a period (godot)
Checks: managed/services/backup/compatibility_service.go#L249
Comment should end in a period (godot)
Checks: managed/services/backup/pitr_timerange_service.go#L40
Comment should end in a period (godot)
Checks: managed/services/management/ia/rules_service.go#L377
`if req.TemplateName != ""` has complex nested blocks (complexity: 7) (nestif)
Checks: agent/agents/mysql/perfschema/perfschema.go#L58
field `rw` is unused (unused)
Checks: agent/agents/mysql/perfschema/perfschema.go#L62
func `(*PerfSchema).mySQLVersion` is unused (unused)
Checks: managed/utils/envvars/parser.go#L72
Function name: ParseEnvVars, Cyclomatic Complexity: 50, Halstead Volume: 4134.40, Maintainability Index: 18 (maintidx)
Checks: managed/services/inventory/grpc/nodes_server.go#L114
SA1019: inventorypb.AddGenericNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
Checks: managed/services/inventory/grpc/nodes_server.go#L120
SA1019: inventorypb.AddGenericNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
Checks: managed/services/inventory/grpc/nodes_server.go#L125
SA1019: inventorypb.AddContainerNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)