PMM-7 Fix linter config and some errors #4409
Annotations
10 errors
managed/services/backup/backup_service.go#L610
Comment should end in a period (godot)
|
managed/services/backup/compatibility_service.go#L249
Comment should end in a period (godot)
|
managed/services/backup/pitr_timerange_service.go#L40
Comment should end in a period (godot)
|
managed/services/management/ia/rules_service.go#L377
`if req.TemplateName != ""` has complex nested blocks (complexity: 7) (nestif)
|
agent/agents/mysql/perfschema/perfschema.go#L58
field `rw` is unused (unused)
|
agent/agents/mysql/perfschema/perfschema.go#L62
func `(*PerfSchema).mySQLVersion` is unused (unused)
|
managed/utils/envvars/parser.go#L72
Function name: ParseEnvVars, Cyclomatic Complexity: 50, Halstead Volume: 4134.40, Maintainability Index: 18 (maintidx)
|
managed/services/inventory/grpc/nodes_server.go#L114
SA1019: inventorypb.AddGenericNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
|
managed/services/inventory/grpc/nodes_server.go#L120
SA1019: inventorypb.AddGenericNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
|
managed/services/inventory/grpc/nodes_server.go#L125
SA1019: inventorypb.AddContainerNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
|
The logs for this run have expired and are no longer available.
Loading