Skip to content

PMM-12913 Migrate api endpoints to REST #6980

PMM-12913 Migrate api endpoints to REST

PMM-12913 Migrate api endpoints to REST #6980

Triggered via pull request April 4, 2024 22:56
Status Failure
Total duration 7m 2s
Artifacts

main.yml

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

Annotations

10 errors
Checks: managed/models/agent_model.go#L444
string `.TextFiles.` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L658
string ` it doesn't support it, minimum supported version=%q` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L657
string `cannot use push_metrics_enabled with pmm_agent version=%q,` has 3 occurrences, make it a constant (goconst)
Checks: managed/services/supervisord/supervisord.go#L537
string `.ini` has 3 occurrences, make it a constant (goconst)
Checks: qan-api2/services/analytics/object_details.go#L183
string `_sum` has 4 occurrences, make it a constant (goconst)
Checks: qan-api2/services/analytics/object_details.go#L182
string `_cnt` has 3 occurrences, make it a constant (goconst)
Checks: agent/runner/jobs/pbm_helpers.go#L183
string `--mongodb-uri=` has 3 occurrences, make it a constant (goconst)
Checks: agent/runner/jobs/mysql_backup_job.go#L151
string `--target-dir=` has 4 occurrences, make it a constant (goconst)
Checks: managed/services/agents/node.go#L123
string `|unevictable|mlock|mapped|bounce|page_table_pages|kernel_stack)|drop_slab|slabs_scanned|pgd?e?activate` has 3 occurrences, make it a constant (goconst)
Checks: managed/services/agents/mysql.go#L76
string `--collect.custom_query.mr.directory=` has 9 occurrences, make it a constant (goconst)