Skip to content

PMM-12913 Migrate api endpoints to REST #7027

PMM-12913 Migrate api endpoints to REST

PMM-12913 Migrate api endpoints to REST #7027

Triggered via pull request April 8, 2024 18:50
Status Failure
Total duration 7m 1s
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#L679
string ` it doesn't support it, minimum supported version=%q` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L678
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/mysql.go#L76
string `--collect.custom_query.mr.directory=` has 9 occurrences, make it a constant (goconst)
Checks: managed/services/agents/node.go#L124
string `|pgpg(in|out)|pswp(in|out)|pgm?a?j?fault)$` has 3 occurrences, make it a constant (goconst)