PMM-7 Fix linter config and some errors #4419
Triggered via pull request
September 27, 2023 12:30
Status
Success
Total duration
12m 24s
Artifacts
–
main.yml
on: pull_request
Checks
11m 30s
Slack Notification success
5s
Slack Notification failure
0s
Annotations
10 errors
Checks:
managed/services/management/backup/artifacts_service.go#L131
Comment should end in a period (godot)
|
Checks:
managed/services/management/backup/deps.go#L63
Comment should end in a period (godot)
|
Checks:
managed/services/inventory/nodes.go#L236
Comment should end in a period (godot)
|
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)
|
Checks:
managed/services/inventory/grpc/nodes_server.go#L131
SA1019: inventorypb.AddContainerNodeResponse is deprecated: Marked as deprecated in inventorypb/nodes.proto. (staticcheck)
|