PMM-7 Lint fix. #5713
main.yml
on: pull_request
Checks
5m 24s
Slack Notification success
0s
Slack Notification failure
7s
Annotations
10 errors
Checks:
managed/models/service_helpers_test.go#L143
undefined: teardown
|
Checks:
managed/models/service_helpers_test.go#L147
undefined: teardown (typecheck)
|
Checks:
agent/config/config_test.go#L156
string `--config-file=` has 6 occurrences, make it a constant (goconst)
|
Checks:
managed/models/agent_helpers.go#L580
string `/agent_id/` has 4 occurrences, make it a constant (goconst)
|
Checks:
managed/models/agent_helpers.go#L607
string ` it doesn't support it, minimum supported version=%q` has 3 occurrences, make it a constant (goconst)
|
Checks:
managed/models/agent_model.go#L441
string `.TextFiles.` has 5 occurrences, make it a constant (goconst)
|
Checks:
managed/models/agent_helpers.go#L606
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#L548
string `.ini` has 4 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/services/server/server_test.go#L359
string `rpc error: code = InvalidArgument desc = ` has 3 occurrences, make it a constant (goconst)
|