Skip to content

PMM-12619: Make PMM environment variables more consistent #6794

PMM-12619: Make PMM environment variables more consistent

PMM-12619: Make PMM environment variables more consistent #6794

Triggered via pull request March 21, 2024 09:22
Status Failure
Total duration 7m 59s
Artifacts

main.yml

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

Annotations

10 errors
Checks: agent/config/config_test.go#L156
string `--config-file=` has 6 occurrences, make it a constant (goconst)
Checks: managed/models/agent_model.go#L444
string `.TextFiles.` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L609
string ` it doesn't support it, minimum supported version=%q` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L582
string `/agent_id/` has 4 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L608
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: api-tests/server/auth_test.go#L262
string `api-` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/database_test.go#L156
string `INSERT INTO services (service_id, service_type, service_name, node_id, environment, cluster, replication_set, address, port, socket, external_group, created_at, updated_at) ` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/database_test.go#L77
string `INSERT INTO nodes (node_id, node_type, node_name, distro, node_model, az, address, created_at, updated_at) ` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/database_test.go#L93
string `INSERT INTO nodes (node_id, node_type, node_name, machine_id, distro, node_model, az, address, created_at, updated_at) ` has 4 occurrences, make it a constant (goconst)