[Elasticsearch-xpack] [Metricbeat] Fix elasticsearch-xpack error when Machine Learning is explicitly disabled #20412
Annotations
5 errors and 3 warnings
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L21
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L38
Error return value of `w.Write` is not checked (errcheck)
|
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L41
Error return value of `w.Write` is not checked (errcheck)
|
metricbeat/module/elasticsearch/ml_job/ml_job_test.go#L50
Error return value of `w.Write` is not checked (errcheck)
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
|
|
This job failed
Loading